Fixed silly bug that I just introduced. "0" == false
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 23 Oct 2003 03:45:33 +0000 (03:45 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 23 Oct 2003 03:45:33 +0000 (03:45 +0000)
includes/Title.php

index bbefb9b..db4e112 100644 (file)
@@ -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;