From 0256e2c6482d20709fc05b5f8fe4a2cd8c70544b Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 14 Jul 2006 04:13:49 +0000 Subject: [PATCH] Removed forced call-by-reference from LogPage::addEntry(), causes errors in some PHP versions --- includes/LogPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.20.1