From 8d1790a0b465566439911c05806afea742148773 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 5 Dec 2008 04:56:33 +0000 Subject: * Add a moveTo unit test * Pass the module::event(..., $data) by reference to the handlers --- core/helpers/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/module.php') diff --git a/core/helpers/module.php b/core/helpers/module.php index ca5b5cfb..c841ca94 100644 --- a/core/helpers/module.php +++ b/core/helpers/module.php @@ -60,7 +60,7 @@ class module_Core { $class = "{$module->name}_event"; $function = str_replace(".", "_", $name); if (method_exists($class, $function)) { - call_user_func_array(array($class, $function), array($data)); + call_user_func_array(array($class, $function), array(&$data)); } } } -- cgit v1.2.3