Fix fatal
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 8 Mar 2009 06:57:39 +0000 (06:57 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 8 Mar 2009 06:57:39 +0000 (06:57 +0000)
includes/specials/SpecialMergeHistory.php

index 53bae84..3ba72ef 100644 (file)
@@ -97,7 +97,7 @@ class MergehistoryForm {
                        );
                }
                
-               if ( $this->mTargetObj->equals( $this->mDestObj ) ) {
+               if ( empty($errors) && $this->mTargetObj->equals( $this->mDestObj ) ) {
                        $errors[] = wfMsgExt( 'mergehistory-same-destination', array( 'parse' ) );
                }