mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Chart Color
This commit is contained in:
1 parent
b158f4a042
commit
3ff5e0d660
2 files changed
+4
-2
No files matched your search
@@ -161,7 +161,7 @@ if (!DeviceManager::approved($token)) {
|
||||
}
|
||||
|
||||
// Diagnostic Data Write to DB
|
||||
if (isset($settings)){
|
||||
if ($settings != null || $settings != ""){
|
||||
$data = ['mac' => $settings["network"]["mac"], 'ip_address' => $settings["network"]["ip"]];
|
||||
if (array_key_exists("firmware_hash", $settings)) {
|
||||
$data .= ['firmware_hash'=>$settings["firmware_hash"]];
|
||||
|
||||
Reference in new issue
Block a user