Added script to create QGIS data table
This commit is contained in:
@@ -78,7 +78,7 @@ class Termination extends mfBaseModel {
|
||||
$item = mfValuecache::singleton()->get("wfTerm-name-".$itemname);
|
||||
if(!$item) {
|
||||
$item = WorkflowitemModel::getFirst(['name' => $itemname]);
|
||||
if(!$item->id) {
|
||||
if(!$item || !$item->id) {
|
||||
return null;
|
||||
}
|
||||
mfValuecache::singleton()->set("wfTerm-name-".$itemname, $item);
|
||||
|
||||
Reference in New Issue
Block a user