浏览代码

Update Timer.php

walkor 10 年之前
父节点
当前提交
d438e03aa2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     }