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