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); } }