From 59a4a2c894482e08e30edddd7cd65d47ef6e0561 Mon Sep 17 00:00:00 2001 From: aaronchen2k <462826@qq.com> Date: Sat, 18 Jan 2020 10:34:39 +0800 Subject: [PATCH] fix isssue related to delete cron job --- module/ci/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ci/control.php b/module/ci/control.php index 900a18ee8e..213240f3f7 100644 --- a/module/ci/control.php +++ b/module/ci/control.php @@ -328,7 +328,7 @@ class ci extends control $this->ci->delete(TABLE_CI_TASK, $id); if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError())); - $command = 'moduleName=ci&methodName=exeCitask&id=' . $id; + $command = 'moduleName=ci&methodName=exeCitask&parm=' . $id; $this->dao->delete()->from(TABLE_CRON)->where('command')->eq($command)->exec(); $this->send(array('result' => 'success'));