mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
fix #1265
This commit is contained in:
parent
c65b62554a
commit
526e5eb6cb
1 changed files with 2 additions and 1 deletions
|
|
@ -662,7 +662,8 @@ class moduleModel extends module
|
|||
function getTrigger($trigger_name, $module, $type, $called_method, $called_position)
|
||||
{
|
||||
$triggers = $this->getTriggers($trigger_name, $called_position);
|
||||
if($triggers && is_object($triggers))
|
||||
|
||||
if($triggers && is_array($triggers))
|
||||
{
|
||||
foreach($triggers as $item)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue