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:
parent
9ed8f2afcc
commit
a26bb34ce4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue