From: Aaron Schulz Date: Sat, 21 Jun 2008 03:21:02 +0000 (+0000) Subject: E_SRICT; callback should have the ampersand X-Git-Tag: 1.31.0-rc.0~46916 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=050ad03c94ca2075263cf075b416d6f89c1d1257;p=lhc%2Fweb%2Fwiklou.git E_SRICT; callback should have the ampersand --- 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 );