Fixed not showing vlans in Cpeprovisioning
This commit is contained in:
@@ -71,6 +71,10 @@ class Termination extends mfBaseModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getWorkflowvalue($itemname, $type = false) {
|
public function getWorkflowvalue($itemname, $type = false) {
|
||||||
|
if(!is_array($this->workflowitems)) {
|
||||||
|
$this->loadWorkflowItems();
|
||||||
|
}
|
||||||
|
|
||||||
$item = mfValuecache::singleton()->get("wfTerm-name-".$itemname);
|
$item = mfValuecache::singleton()->get("wfTerm-name-".$itemname);
|
||||||
if(!$item) {
|
if(!$item) {
|
||||||
$item = WorkflowitemModel::getFirst(['name' => $itemname]);
|
$item = WorkflowitemModel::getFirst(['name' => $itemname]);
|
||||||
|
|||||||
Reference in New Issue
Block a user