Prevent PHP E_STRICT notice: Only variables should be assigned by reference in includ...
authorNick Jenkins <nickj@users.mediawiki.org>
Thu, 1 Nov 2007 06:59:43 +0000 (06:59 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Thu, 1 Nov 2007 06:59:43 +0000 (06:59 +0000)
includes/EditPage.php

index 7814423..e25cca8 100644 (file)
@@ -90,7 +90,7 @@ class EditPage {
                $this->mArticle =& $article;
                global $wgTitle;
                $this->uiTitle =& $wgTitle;
-               $this->dbTitle =& $article->getTitle();
+               $this->dbTitle = $article->getTitle();
 
                # Placeholders for text injection by hooks (empty per default)
                $this->editFormPageTop =