Fixed saving SN in Cpeprovisioning

This commit is contained in:
Frank Schubert
2022-09-06 19:09:42 +02:00
parent 952f25797d
commit c00d2751cc
3 changed files with 25 additions and 3 deletions
+3 -1
View File
@@ -37,6 +37,9 @@ class Workflowitem extends mfBaseModel {
return null;
}
$value = mfValuecache::singleton()->get("wfItemvalue-item-".$this->id."-object-".$this->object_id);
if($this->id == 55 && $this->object_id == 509) {
var_dump($value);exit;
}
if($value) {
$this->value = $value;
return $value;
@@ -48,7 +51,6 @@ class Workflowitem extends mfBaseModel {
$vdata['item_id'] = $this->id;
$vdata['object_id'] = $this->object_id;
$value = WorkflowvalueModel::create($vdata);
}
$this->value = $value;
return $this->value;