esi update for observers

This commit is contained in:
2021-03-21 22:30:33 +09:00
parent b7600757a0
commit 6fd6db2d1d

View File

@@ -102,7 +102,11 @@ class StructureHelper {
$structure = json_decode($info->raw, true); $structure = json_decode($info->raw, true);
return (string)$structure['name']; if($structure == null) {
return null;
} else {
return (string)$structure['name'];
}
} }
public function GetStructureInfo($structureId) { public function GetStructureInfo($structureId) {