From: Sam Reed Date: Tue, 20 Dec 2011 12:36:34 +0000 (+0000) Subject: Fix for r104684 X-Git-Tag: 1.31.0-rc.0~25871 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=86b50cafed9e306b539d5c007a7c2df62af67248;p=lhc%2Fweb%2Fwiklou.git Fix for r104684 Using "$result['sectionanchor'] == ''; rather than "$result['sectionanchor'] = '';"... --- diff --git a/includes/EditPage.php b/includes/EditPage.php index f821af3e16..eeabe0328b 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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.