fix preview section editing bug
authorErik Moeller <erik@users.mediawiki.org>
Thu, 3 Jul 2003 02:15:00 +0000 (02:15 +0000)
committerErik Moeller <erik@users.mediawiki.org>
Thu, 3 Jul 2003 02:15:00 +0000 (02:15 +0000)
includes/Article.php

index 2afda77..797ceae 100644 (file)
@@ -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;