* Modify the opening method of link story.

This commit is contained in:
liumengyi
2022-01-13 11:03:21 +08:00
parent fa46192342
commit 0403bb58d1
5 changed files with 208 additions and 200 deletions
+6
View File
@@ -312,6 +312,12 @@ class executionModel extends model
return false;
}
if($type == 'kanban' and empty($this->post->products[0]))
{
dao::$errors['message'][] = $this->lang->execution->kanbanNoLinkProduct;
return false;
}
$this->config->execution->create->requiredFields .= ',project';
}