From: Rob Church Date: Sun, 7 May 2006 00:35:38 +0000 (+0000) Subject: Fix call-time-pass-reference error X-Git-Tag: 1.31.0-rc.0~57219 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=cc285924aaaf3a8728819a28dc2c4564d4713623;p=lhc%2Fweb%2Fwiklou.git Fix call-time-pass-reference error --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 87483b4084..a708dd4e92 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -493,7 +493,7 @@ class EditPage { wfProfileOut( "$fname-checks" ); return false; } - if ( !wfRunHooks( 'EditFilter', array( &$this, $this->textbox1, $this->section, &$this->hookError ) ) ) { + if ( !wfRunHooks( 'EditFilter', array( &$this, $this->textbox1, $this->section, $this->hookError ) ) ) { # Error messages etc. could be handled within the hook... wfProfileOut( $fname ); wfProfileOut( "$fname-checks" );