Fix for r104684
authorSam Reed <reedy@users.mediawiki.org>
Tue, 20 Dec 2011 12:36:34 +0000 (12:36 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 20 Dec 2011 12:36:34 +0000 (12:36 +0000)
Using "$result['sectionanchor'] == ''; rather than "$result['sectionanchor'] = '';"...

includes/EditPage.php

index f821af3..eeabe03 100644 (file)
@@ -1130,7 +1130,7 @@ class EditPage {
                        }
 
                        $text = $this->textbox1;
-                       $result['sectionanchor'] == '';
+                       $result['sectionanchor'] = '';
                        if ( $this->section == 'new' ) {
                                if ( $this->sectiontitle != '' ) {
                                        // Insert the section title above the content.