From: Tim Starling Date: Fri, 14 Jul 2006 04:13:49 +0000 (+0000) Subject: Removed forced call-by-reference from LogPage::addEntry(), causes errors in some... X-Git-Tag: 1.31.0-rc.0~56261 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=0256e2c6482d20709fc05b5f8fe4a2cd8c70544b;p=lhc%2Fweb%2Fwiklou.git Removed forced call-by-reference from LogPage::addEntry(), causes errors in some PHP versions --- diff --git a/includes/LogPage.php b/includes/LogPage.php index f588105f3d..954b178f70 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -207,13 +207,13 @@ class LogPage { * @param string $comment Description associated * @param array $params Parameters passed later to wfMsg.* functions */ - function addEntry( $action, &$target, $comment, $params = array() ) { + function addEntry( $action, $target, $comment, $params = array() ) { if ( !is_array( $params ) ) { $params = array( $params ); } $this->action = $action; - $this->target =& $target; + $this->target = $target; $this->comment = $comment; $this->params = LogPage::makeParamBlob( $params );