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;