From 21b8a266b73258509a6272eb9aaf9329ec2ab343 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 23 Oct 2003 03:45:33 +0000 Subject: [PATCH] Fixed silly bug that I just introduced. "0" == false --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1