Ignore:
Timestamp:
01/18/14 13:41:40 (6 years ago)
Author:
mistic100
Message:

Merged revision(s) r26846 from trunk:
bug 3023: Fatal error when using trigger_notify/trigger_change on PHP < 5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/include/functions_plugins.inc.php

    r26591 r26847  
    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.