Added script to create QGIS data table

This commit is contained in:
Frank Schubert
2022-08-09 17:10:50 +02:00
parent 6eab665c45
commit 882896dc5d
4 changed files with 179 additions and 2 deletions

View File

@@ -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);