mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-09 05:22:13 +09:00
#18366896 : fixed a bug occurred when non-modules are put into modules directory
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6879 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
31d00efa0f
commit
e97407dc1f
2 changed files with 9 additions and 3 deletions
|
|
@ -949,7 +949,13 @@
|
|||
// 각 모듈의 module.class.php로 upgrade 유무 체크
|
||||
$oDummy = null;
|
||||
$oDummy = &getModule($module_name, 'class');
|
||||
if($oDummy) $info->need_update = $oDummy->checkUpdate();
|
||||
if($oDummy && method_exists($oDummy, "checkUpdate")) {
|
||||
$info->need_update = $oDummy->checkUpdate();
|
||||
}
|
||||
else
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$list[] = $info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue