5.3 reference error fix
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 24 Jul 2009 12:08:06 +0000 (12:08 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 24 Jul 2009 12:08:06 +0000 (12:08 +0000)
includes/EditPage.php

index 73faacc..0b247f1 100644 (file)
@@ -882,7 +882,7 @@ class EditPage {
                        }
 
                        // Run post-section-merge edit filter
-                       if ( !wfRunHooks( 'EditFilterMerged', array( $this, $this->textbox1, &$this->hookError, $this->summary ) ) ) {
+                       if ( !wfRunHooks( 'EditFilterMerged', array( &$this, $this->textbox1, &$this->hookError, $this->summary ) ) ) {
                                # Error messages etc. could be handled within the hook...
                                wfProfileOut( $fname );
                                return self::AS_HOOK_ERROR;