From: Nick Jenkins Date: Thu, 1 Nov 2007 06:59:43 +0000 (+0000) Subject: Prevent PHP E_STRICT notice: Only variables should be assigned by reference in includ... X-Git-Tag: 1.31.0-rc.0~51035 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=bf311d9415a37646537a2160a73415330e8a542d;p=lhc%2Fweb%2Fwiklou.git Prevent PHP E_STRICT notice: Only variables should be assigned by reference in includes/EditPage.php on line 93. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 7814423b4a..e25cca8a78 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 =