Changeset 26846 for trunk


Ignore:
Timestamp:
Jan 18, 2014, 1:39:09 PM (11 years ago)
Author:
mistic100
Message:

bug 3023: Fatal error when using trigger_notify/trigger_change on PHP < 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_plugins.inc.php

    r26591 r26846  
    253253function trigger_change($event, $data=null)
    254254{
    255   return call_user_func_array('trigger_event', func_get_args());
     255  $args = func_get_args();
     256  return call_user_func_array('trigger_event', $args);
    256257}
    257258
     
    303304function trigger_notify($event)
    304305{
    305   return call_user_func_array('trigger_action', func_get_args());
     306  $args = func_get_args();
     307  return call_user_func_array('trigger_action', $args);
    306308}
    307309
Note: See TracChangeset for help on using the changeset viewer.