From 5731aa0824ee93865a86f6ce9edbfaf03ce7717d Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 24 Jun 2022 10:56:27 +0800 Subject: [PATCH] * Fix bug #24197. --- module/weekly/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/weekly/model.php b/module/weekly/model.php index a2d7d5c460..9fb4f48b79 100755 --- a/module/weekly/model.php +++ b/module/weekly/model.php @@ -379,6 +379,7 @@ class weeklyModel extends model $tasks = $this->dao->select('*')->from(TABLE_TASK) ->where('execution')->in($executionIdList) ->andWhere("(estStarted < '$nextMonday' or estStarted='0000-00-00')") + ->andWhere("parent")->ge(0) ->fetchAll('id'); $PV = 0;