mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
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:
parent
2f85c4cfcb
commit
156f849aaa
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue