Fix typo
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 8 Nov 2008 19:34:08 +0000 (19:34 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 8 Nov 2008 19:34:08 +0000 (19:34 +0000)
includes/Title.php

index 61c5c6c..1b2b558 100644 (file)
@@ -2866,7 +2866,7 @@ class Title {
                # Cache some fields we may want
                $this->mRedirect = $row ? (bool)$row->page_is_redirect : false;
                $this->mLatestID = $row ? intval($row->page_latest) : false;
-               if( $this->mRedirect ) {
+               if( !$this->mRedirect ) {
                        return false;
                }
                # Does the article have a history?