Fixed saving SN in Cpeprovisioning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user