From cc285924aaaf3a8728819a28dc2c4564d4713623 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 7 May 2006 00:35:38 +0000 Subject: [PATCH] Fix call-time-pass-reference error --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); -- 2.20.1