Device Bugfix

* Popanzeige in der Device Übersicht gefixt
This commit is contained in:
Daniel Spitzer
2025-01-26 10:09:36 +01:00
parent e77370facc
commit c8e6895d52

View File

@@ -399,8 +399,7 @@ class DeviceController extends mfBaseController
foreach ($devices as $device) {
$locationText = "";
$locationUrl = "";
if (isset($device->pop) && trim($device->pop->name)) {
if ($device->pop_id && trim($device->pop->name)) {
$locationText = $device->pop->name;
$locationUrl = self::getUrl("Pop", "Detail", ["id" => $device->pop->id]);
} else if (trim($device->addr_street)) {