Browse Source

Update Timer.php

walkor 10 năm trước cách đây
mục cha
commit
d438e03aa2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Lib/Timer.php

+ 1 - 1
Lib/Timer.php

@@ -108,7 +108,7 @@ class Timer
         {
             self::$_tasks[$run_time] = array();
         }
-        self::$_tasks[$run_time][] = array($func, $args, $persistent, $time_interval);
+        self::$_tasks[$run_time][] = array($func, (array)$args, $persistent, $time_interval);
         return true;
     }