瀏覽代碼

add to local

stanley-king 7 年之前
父節點
當前提交
b7cacbeeef
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      crontab/control/control.php

+ 2 - 1
crontab/control/control.php

@@ -130,10 +130,11 @@ class BaseCronControl
                     }
                 }
                 else {
+                    $trans->commit();
                     break;
                 }
-                $trans->commit();
 
+                $trans->commit();
             }
             catch (Exception $ex)
             {