mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
issue 160 array check
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ad66c95b31
commit
635321ca12
1 changed files with 13 additions and 10 deletions
|
|
@ -32,6 +32,8 @@
|
||||||
$oAutoinstallModel = &getModel('autoinstall');
|
$oAutoinstallModel = &getModel('autoinstall');
|
||||||
|
|
||||||
$module_list = $oModuleModel->getModuleList();
|
$module_list = $oModuleModel->getModuleList();
|
||||||
|
if(is_array($module_list))
|
||||||
|
{
|
||||||
foreach($module_list as $key => $val) {
|
foreach($module_list as $key => $val) {
|
||||||
$module_list[$key]->delete_url = $oAutoinstallModel->getRemoveUrlByPath($val->path);
|
$module_list[$key]->delete_url = $oAutoinstallModel->getRemoveUrlByPath($val->path);
|
||||||
|
|
||||||
|
|
@ -46,6 +48,7 @@
|
||||||
$module_list[$key]->update_url = $oAutoinstallModel->getUpdateUrlByPackageSrl($packageSrl);
|
$module_list[$key]->update_url = $oAutoinstallModel->getUpdateUrlByPackageSrl($packageSrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$output = $oAdminModel->getFavoriteList('0');
|
$output = $oAdminModel->getFavoriteList('0');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue