zhangguidong пре 2 година
родитељ
комит
6fcfeeebc9
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      app/common.php

+ 3 - 1
app/common.php

@@ -528,7 +528,9 @@ function event($event, $args = [], $once = false)
 {
     print_r(111);
 	$res = Event::trigger($event, $args);
-	if (is_array($res)) {
+    print_r($res);
+
+    if (is_array($res)) {
 		$res = array_filter($res);
 		sort($res);
 	}