summaryrefslogtreecommitdiff
path: root/includes/LogPage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/LogPage.php')
-rw-r--r--includes/LogPage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/LogPage.php b/includes/LogPage.php
index f588105f..954b178f 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 );