mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Do not rollback if an 'after' trigger returns error
This commit is contained in:
parent
2300106aa5
commit
eb895f76cd
13 changed files with 81 additions and 227 deletions
|
|
@ -413,8 +413,7 @@ class menuAdminModel extends menu
|
|||
}
|
||||
|
||||
// after trigger
|
||||
$output = ModuleHandler::triggerCall('menu.getModuleListInSitemap', 'after', $moduleList);
|
||||
if(!$output->toBool()) return $output;
|
||||
ModuleHandler::triggerCall('menu.getModuleListInSitemap', 'after', $moduleList);
|
||||
|
||||
$localModuleList = array_unique($moduleList);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue