From: Alexandre Emsenhuber Date: Fri, 8 Jul 2011 07:02:23 +0000 (+0000) Subject: Follow-up r91657: missed this one X-Git-Tag: 1.31.0-rc.0~28997 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=a04e33dd86e152d74026a54bd8f5cb490abb64a2;p=lhc%2Fweb%2Fwiklou.git Follow-up r91657: missed this one --- diff --git a/includes/RequestContext.php b/includes/RequestContext.php index ecfe2ab567..48cca17db1 100644 --- a/includes/RequestContext.php +++ b/includes/RequestContext.php @@ -56,7 +56,7 @@ class RequestContext { * @return WebRequest */ public function getRequest() { - if ( !isset($this->request) ) { + if ( $this->request === null ) { global $wgRequest; # fallback to $wg till we can improve this $this->request = $wgRequest; }