summaryrefslogtreecommitdiff
path: root/system/core/Event.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-29 12:00:49 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-29 12:00:49 -0700
commitb0cb3c74025dd601dcf0ffbc33493c03b7bd1824 (patch)
tree92f1d07abe81fbb18a1dc2caa7cb778641166f69 /system/core/Event.php
parent356bac0db0dca5d2b8102b31b6c6b9509f595c29 (diff)
Update Kohana to r4374
Diffstat (limited to 'system/core/Event.php')
-rw-r--r--system/core/Event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Event.php b/system/core/Event.php
index 22a9f69d..90944c37 100644
--- a/system/core/Event.php
+++ b/system/core/Event.php
@@ -4,7 +4,7 @@
* to be added to 'events'. Events can be run multiple times, and can also
* process event-specific data. By default, Kohana has several system events.
*
- * $Id: Event.php 3993 2009-02-17 18:42:50Z jheathco $
+ * $Id: Event.php 4358 2009-05-27 17:24:25Z ixmatus $
*
* @package Core
* @author Kohana Team
@@ -206,7 +206,7 @@ final class Event {
foreach ($callbacks as $callback)
{
- call_user_func($callback);
+ call_user_func_array($callback, array(&$data));
}
// Do this to prevent data from getting 'stuck'