zhangguidong hace 2 años
padre
commit
6fcfeeebc9
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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);
 	}