From 7da809b1c26d9786ddc1de5bbc14b5740e313513 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 19 Nov 2004 12:50:21 +0000 Subject: [PATCH] fix notice: uninitialised var --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.20.1