mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Sort by Firmware Fix
This commit is contained in:
1 parent
ac43bdaf64
commit
3181c9dc72
2 files changed
+7
-3
No files matched your search
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user