From: Brion Vibber Date: Fri, 19 Nov 2004 12:50:21 +0000 (+0000) Subject: fix notice: uninitialised var X-Git-Tag: 1.5.0alpha1~1305 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=7da809b1c26d9786ddc1de5bbc14b5740e313513;p=lhc%2Fweb%2Fwiklou.git fix notice: uninitialised var --- diff --git a/includes/EditPage.php b/includes/EditPage.php index f1dcc496fc..0188851f16 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -272,9 +272,9 @@ class EditPage { if( $this->section != '' ) { if( $this->section == 'new' ) { - $s.=wfMsg('editingcomment', $this->mTitle->getPrefixedText() ); + $s = wfMsg('editingcomment', $this->mTitle->getPrefixedText() ); } else { - $s.=wfMsg('editingsection', $this->mTitle->getPrefixedText() ); + $s = wfMsg('editingsection', $this->mTitle->getPrefixedText() ); } if(!$this->preview) { $sectitle=preg_match("/^=+(.*?)=+/mi",