From: Erik Moeller Date: Thu, 3 Jul 2003 02:15:00 +0000 (+0000) Subject: fix preview section editing bug X-Git-Tag: 1.1.0~457 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=0fec91367a35fc3a1d7f32574025a2e593c3a2c9;p=lhc%2Fweb%2Fwiklou.git fix preview section editing bug --- diff --git a/includes/Article.php b/includes/Article.php index 2afda776dc..797ceae6b7 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -384,7 +384,7 @@ class Article { global $oldid, $redirect, $section; global $wgLang; - if($wpSection) { $section=$wpSection; } + if(isset($wpSection)) { $section=$wpSection; } $sk = $wgUser->getSkin(); $isConflict = false;