diff --git a/HauptManager/module.php b/HauptManager/module.php index d488c02..5971581 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -48,10 +48,10 @@ class HauptManager extends IPSModule foreach ($Verbraucher_Liste as $key => $user) { $decodedUser = json_decode(GetValue($user["User_Up"])); - if (isset($decodedUser["Timestamp"]) && (($currentTime - $decodedUser)["Timestamp"]) < 30) { + if (isset($decodedUser["Timestamp"]) && (($currentTime - $decodedUser["Timestamp"])) < 30) { $Verbraucher_Liste_Korr[] = [ - "User" => json_decode(GetValue($user["User_Up"])), + "User" => $decodedUser, "Sendback" => $user["User_Down"] ]; diff --git a/library.json b/library.json index 9e3dd8d..20a2a8a 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.123", + "version": "1.124", "build": 0, "date": 0 } \ No newline at end of file