Commit a303d66a by Taylor Otwell

Fix bug in events.

parent b097b6c6
......@@ -151,6 +151,8 @@ class Event {
// We will simply spin through each payload registered for the event and
// fire the flusher, passing each payloads as we go. This allows all
// the events on the queue to be processed by the flusher easily.
if ( ! isset(static::$queued[$queue])) continue;
foreach (static::$queued[$queue] as $key => $payload)
{
array_unshift($payload, $key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment