From: Daniel Friesen Date: Sun, 14 Aug 2011 14:20:59 +0000 (+0000) Subject: Followup r94353; Use !== null since that's what we use in core. X-Git-Tag: 1.31.0-rc.0~28276 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=ecd274f432e4fbd3e10b5599fd336166a5372fae;p=lhc%2Fweb%2Fwiklou.git Followup r94353; Use !== null since that's what we use in core. --- diff --git a/includes/interwiki/Interwiki.php b/includes/interwiki/Interwiki.php index 711fea4969..d1592c0bf0 100644 --- a/includes/interwiki/Interwiki.php +++ b/includes/interwiki/Interwiki.php @@ -321,7 +321,7 @@ class Interwiki { */ public function getURL( $title = null ) { $url = $this->mURL; - if( isset($title) ) { + if( $title !== null ) { $url = str_replace( "$1", wfUrlencode( $title ), $url ); } return $url;