(bug 992) Return a reference from RecentChange::getTitle() to fix error messages...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 4 Dec 2004 18:48:57 +0000 (18:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 4 Dec 2004 18:48:57 +0000 (18:48 +0000)
includes/RecentChange.php

index 7b96bbd..248cb2f 100644 (file)
@@ -76,7 +76,7 @@ class RecentChange
                $this->mExtra = $extra;
        }
 
-       function getTitle()
+       function &getTitle()
        {
                if ( $this->mTitle === false ) {
                        $this->mTitle = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );