From 0fec91367a35fc3a1d7f32574025a2e593c3a2c9 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Thu, 3 Jul 2003 02:15:00 +0000 Subject: [PATCH] fix preview section editing bug --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1