aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_plugins.inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions_plugins.inc.php b/include/functions_plugins.inc.php
index d71f58491..d3825a047 100644
--- a/include/functions_plugins.inc.php
+++ b/include/functions_plugins.inc.php
@@ -252,7 +252,8 @@ function remove_event_handler($event, $func,
*/
function trigger_change($event, $data=null)
{
- return call_user_func_array('trigger_event', func_get_args());
+ $args = func_get_args();
+ return call_user_func_array('trigger_event', $args);
}
/**
@@ -302,7 +303,8 @@ function trigger_event($event, $data=null)
*/
function trigger_notify($event)
{
- return call_user_func_array('trigger_action', func_get_args());
+ $args = func_get_args();
+ return call_user_func_array('trigger_action', $args);
}
/**