X-Git-Url: http://git.osdn.net/view?p=nucleus-jp%2Fnucleus-next.git;a=blobdiff_plain;f=nucleus%2Flibs%2FMANAGER.php;h=c88fb4567f47aff00168deca5d87de876918e840;hp=0ab6a4b9c490d8982c7abc6a1ff2cabf8a7494fb;hb=7ea26abd7e41c2644f42ce936f6557d58755cb3a;hpb=421907a00fb5796ee46ee7f9b1243c20b4926682 diff --git a/nucleus/libs/MANAGER.php b/nucleus/libs/MANAGER.php index 0ab6a4b..c88fb45 100644 --- a/nucleus/libs/MANAGER.php +++ b/nucleus/libs/MANAGER.php @@ -542,7 +542,7 @@ class Manager * but it can also be an array containing multiple values * @return void */ - public function notify($eventName, $data) + public function notify($eventName, &$data) { // load subscription list if needed if ( !is_array($this->subscriptions) ) @@ -571,7 +571,7 @@ class Manager && !empty($this->plugins[$listener]) && method_exists($this->plugins[$listener], 'event_' . $eventName) ) { - call_user_func(array(&$this->plugins[$listener], 'event_' . $eventName), array(&$data)); + call_user_func(array(&$this->plugins[$listener], 'event_' . $eventName), $data); } } }