mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Fix warning in module model that affects SMS triggers
This commit is contained in:
parent
e12dd2d540
commit
83e75a89d9
1 changed files with 2 additions and 0 deletions
|
|
@ -586,6 +586,8 @@ class moduleModel extends module
|
|||
Rhymix\Framework\Cache::set('triggers', $triggers, 0, true);
|
||||
}
|
||||
}
|
||||
|
||||
$triggers = $triggers ?: array();
|
||||
foreach($triggers as $item)
|
||||
{
|
||||
$GLOBALS['__triggers__'][$item->trigger_name][$item->called_position][] = $item;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue