From f78a39f5a18c5f68f8082d93bc082f15b7ce360e Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 6 Jan 2022 11:21:43 +0800 Subject: [PATCH] * Fix bug#18250. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index 3721e514ab..e83e3f2ba1 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1430,7 +1430,7 @@ class actionModel extends model $action = $this->getById($actionID); if($action->action != 'deleted') return; - if($action->objectType == 'execution') + if($this->config->systemMode == 'new' and $action->objectType == 'execution') { $execution = $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->eq($action->objectID)->fetch(); if($execution->deleted and empty($execution->project)) return print(js::error($this->lang->action->undeletedTips));