From 050ad03c94ca2075263cf075b416d6f89c1d1257 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 21 Jun 2008 03:21:02 +0000 Subject: [PATCH] E_SRICT; callback should have the ampersand --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 67eaa5a229..e861b4b6f3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -753,7 +753,7 @@ class EditPage { wfProfileOut( $fname ); return self::AS_SPAM_ERROR; } - if ( $wgFilterCallback && $wgFilterCallback( $this->mTitle, $this->textbox1, $this->section, &$this->hookError, $this->summary ) ) { + if ( $wgFilterCallback && $wgFilterCallback( $this->mTitle, $this->textbox1, $this->section, $this->hookError, $this->summary ) ) { # Error messages or other handling should be performed by the filter function wfProfileOut( "$fname-checks" ); wfProfileOut( $fname ); -- 2.20.1