prevent warning message

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9612 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-10-12 09:00:48 +00:00
parent 2f85c4cfcb
commit 156f849aaa

View file

@ -30,6 +30,11 @@
if (!$fixed) $fixed = array();
if (!$favorite) $favorite = array();
if (!is_array($pc)) $pc = array($pc);
if (!is_array($mobile)) $pc = array($mobile);
if (!is_array($fixed)) $pc = array($fixed);
if (!is_array($favorite)) $pc = array($favorite);
// get current addon info
$oModel = &getAdminModel('addon');
$currentAddonList = $oModel->getAddonList(0, 'site');
@ -178,4 +183,4 @@
return executeQuery('addon.updateSiteAddon', $args);
}
}
?>
?>