mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
issue 160 when menu create with new module instance,
if already exists module instance, error message return git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9215 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f57a582b95
commit
19e8391d14
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
|||
$cmArgs->menu_srl = $source_args->menu_srl;
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModule($cmArgs);
|
||||
if(!$output->toBool()) return Object(-1, 'fail_module_regist');
|
||||
if(!$output->toBool()) return new Object(-1, $output->message);
|
||||
}
|
||||
|
||||
// Check if already exists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue