Sort by Firmware Fix

This commit is contained in:
jonatanrek committed 2020-11-18 21:57:58 +01:00
1 parent ac43bdaf64
commit 3181c9dc72
2 files changed
+7 -3

No files matched your search

+4
View File
@@ -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)) {