* Change comment for CRProduct and CRExecution.

This commit is contained in:
dingguodong
2023-06-10 15:58:31 +08:00
parent b13a4683ba
commit 16baa04f21
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -3113,6 +3113,7 @@ EOF;
if(empty($object)) return true;
/* Judge that if the closed object(product|execution) is readonly from config table. The default is can modify. */
if($type == 'product' and empty($config->CRProduct) and $object->status == 'closed') return false;
if($type == 'execution' and empty($config->CRExecution) and $object->status == 'closed') return false;