Browse Source

removed unneeded check.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
684ee633f7
  1. 2
      framework/yii/base/Component.php

2
framework/yii/base/Component.php

@ -452,7 +452,7 @@ class Component extends Object
$event->data = $handler[1];
call_user_func($handler[0], $event);
// stop further handling if the event is handled
if ($event instanceof Event && $event->handled) {
if ($event->handled) {
return;
}
}

Loading…
Cancel
Save