summaryrefslogtreecommitdiff
path: root/system/core/Event.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-29 22:28:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-29 22:28:48 -0700
commitf660eb55aa9535c10f91ad2812fa073589fcae2b (patch)
tree11d8727061378408bbc16ede888a058ba20542fb /system/core/Event.php
parent0097803efc1c71711bf9ccf5015fe43e75f8f28d (diff)
parentce285b8feba2f9c495fb153517c2a582421f50e0 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
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'