* [task#149701,done,0.5h] Check edition.

This commit is contained in:
daitingting
2025-09-15 16:25:16 +08:00
parent 470e786b43
commit 686e1b3e50
+5 -2
View File
@@ -1871,8 +1871,11 @@ eof;
$commonModel = new commonModel();
$workflow = $commonModel->loadModel('workflow')->getByModule($module);
if($workflow && $workflow->buildin == '0') return true;
if($config->edition != 'open')
{
$workflow = $commonModel->loadModel('workflow')->getByModule($module);
if($workflow && $workflow->buildin == '0') return true;
}
/* Check the product is closed. */
if(!empty($object->product) and is_numeric($object->product) and empty($config->CRProduct))