* Fix bug#18250.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user