diff --git a/HauptManager/module.php b/HauptManager/module.php index c643892..5d2e969 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -47,13 +47,12 @@ class HauptManager extends IPSModule foreach ($Verbraucher_Liste as $key => $user) { - $decodedUsertot = json_decode(($user)); - $decodedUser = json_decode(GetValue($decodedUsertot["User_Up"])); + $decodedUser = json_decode(GetValue($user["User_Up"])); if (isset($decodedUser["Timestamp"]) && (($currentTime - $decodedUser["Timestamp"])) < 30) { $Verbraucher_Liste_Korr[] = [ "User" => $decodedUser, - "Sendback" => $decodedUsertot["User_Down"] + "Sendback" => $user["User_Down"] ]; diff --git a/library.json b/library.json index 74739c6..d7fbe4d 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.130", + "version": "1.131", "build": 0, "date": 0 } \ No newline at end of file