Change run function of plugin event (callPluginEvent)
Change the run function when if plugin event is called throw the plugin->raiseEvent() on line 155 from:
call_user_func(array($app->loaded_plugins[$plugin_name],function_name),
event_name,$data);
to:
call_user_func_array(array($app->loaded_plugins[$plugin_name],function_name), array(
event_name,&$data));
It's fine to do plugins what are supported reference (&$data), becase plugins can be used as logic hook for interface and API by only one call function.