diff --git a/app/views/Device.php b/app/views/Device.php index 4d0bba8..bd48bcf 100644 --- a/app/views/Device.php +++ b/app/views/Device.php @@ -62,6 +62,10 @@ class Device extends Template } //Firmware Status + if (empty($devices[$key]['mac'])) { + $devices[$key]['firmware_hash'] = ""; + continue; + } $localBinary = "../updater/" . str_replace(':', '', $device['mac']) . ".bin"; $devices[$key]['firmware_hash'] = ""; if (file_exists($localBinary)) { diff --git a/app/views/templates/device.phtml b/app/views/templates/device.phtml index 5499fe5..6b4832c 100644 --- a/app/views/templates/device.phtml +++ b/app/views/templates/device.phtml @@ -32,9 +32,9 @@ Signal Firmware - IP Address
- (Mac)
- Token + IP Address
+ (Mac)
+ Token Action