diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-05 04:56:33 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-05 04:56:33 +0000 |
| commit | 8d1790a0b465566439911c05806afea742148773 (patch) | |
| tree | b258f53c1a60d1e65136c0f2fe0410cf3080714b /core/helpers/module.php | |
| parent | 362f43169c591c62c54a1844889fa04c27774954 (diff) | |
* Add a moveTo unit test
* Pass the module::event(..., $data) by reference to the handlers
Diffstat (limited to 'core/helpers/module.php')
| -rw-r--r-- | core/helpers/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } } } |
