Fixed php 5.3 reference error
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 22 Jul 2009 04:53:59 +0000 (04:53 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 22 Jul 2009 04:53:59 +0000 (04:53 +0000)
includes/EditPage.php

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