From: Tim Starling Date: Thu, 23 Oct 2003 03:45:33 +0000 (+0000) Subject: Fixed silly bug that I just introduced. "0" == false X-Git-Tag: 1.1.0~204 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=21b8a266b73258509a6272eb9aaf9329ec2ab343;p=lhc%2Fweb%2Fwiklou.git Fixed silly bug that I just introduced. "0" == false --- diff --git a/includes/Title.php b/includes/Title.php index bbefb9bc42..db4e1122c0 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -189,7 +189,7 @@ class Title { function getPrefixedText() { - if ( !$this->mPrefixedText ) { + if ( $this->mPrefixedText === false ) { $s = $this->prefix( $this->mTextform ); $s = str_replace( "_", " ", $s ); $this->mPrefixedText = $s;