mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +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)
|
function getTrigger($trigger_name, $module, $type, $called_method, $called_position)
|
||||||
{
|
{
|
||||||
$triggers = $this->getTriggers($trigger_name, $called_position);
|
$triggers = $this->getTriggers($trigger_name, $called_position);
|
||||||
if($triggers && is_object($triggers))
|
|
||||||
|
if($triggers && is_array($triggers))
|
||||||
{
|
{
|
||||||
foreach($triggers as $item)
|
foreach($triggers as $item)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue