re-fix typo, empty string causes php problem with array funct

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@35226 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2008-03-17 18:59:35 +00:00
parent 9ed8f2afcc
commit a26bb34ce4
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ function pageMash_getPages($post_parent){
function pageMash_main(){
global $instantUpdateFeature, $excludePagesFeature, $excludePagesList;
$excludePagesList = get_option('exclude_pages');
if(!is_array($excludePagesList)) $excludePagesList=""; //compatability for people upgrading from CSV data
if(!is_array($excludePagesList)) $excludePagesList[]=''; //if it's empty set as an empty array
?>
<div id="debug_list"></div>