Followup r95562: forgot to convert one case. Thanks to Nikerabbit for providing the...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 17 Sep 2011 15:50:06 +0000 (15:50 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 17 Sep 2011 15:50:06 +0000 (15:50 +0000)
includes/EditPage.php

index d2f141c..300c9d1 100644 (file)
@@ -1131,8 +1131,10 @@ class EditPage {
                        {
                                if ( md5( $this->summary ) == $this->autoSumm ) {
                                        $this->missingSummary = true;
+                                       $status->fatal( 'missingsummary' );
+                                       $status->value = self::AS_SUMMARY_NEEDED;
                                        wfProfileOut( __METHOD__ );
-                                       return self::AS_SUMMARY_NEEDED;
+                                       return $status;
                                }
                        }