fix araay again

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@35277 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2008-03-18 07:26:23 +00:00
parent a26bb34ce4
commit 9abb02427d
1 changed files with 1 additions and 3 deletions

View File

@ -99,9 +99,7 @@ function pageMash_getPages($post_parent){
function pageMash_main(){
global $instantUpdateFeature, $excludePagesFeature, $excludePagesList;
$excludePagesList = get_option('exclude_pages');
if(!is_array($excludePagesList)) $excludePagesList[]=''; //if it's empty set as an empty array
if(!is_array(get_option('exclude_pages'))) $excludePagesList=array(); else $excludePagesList = get_option('exclude_pages'); //if it's empty set as an empty array
?>
<div id="debug_list"></div>
<div id="pageMash" class="wrap">