diff --git a/module/execution/model.php b/module/execution/model.php index 91bf9aba47..37856dcef0 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1043,7 +1043,7 @@ class executionModel extends model */ public function getByIdList($executionIdList = array()) { - return $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->fetchAll('id'); + return $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->andWhere('deleted')->eq(0)->fetchAll('id'); } /**