From bd637baea4aa0168f8bfa45c1b5999460907fa34 Mon Sep 17 00:00:00 2001 From: Comsenz <10433182@qq.com> Date: Mon, 31 Jul 2017 17:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20cron=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/class/discuz/discuz_cron.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upload/source/class/discuz/discuz_cron.php b/upload/source/class/discuz/discuz_cron.php index 942fd85..464b476 100644 --- a/upload/source/class/discuz/discuz_cron.php +++ b/upload/source/class/discuz/discuz_cron.php @@ -48,6 +48,9 @@ class discuz_cron if(!@include $cronfile) { return false; } + }else{ + $data = array('available' => '0'); + C::t('common_cron')->update($cron['cronid'], $data); } }