From 26d721dd6be9a292ef6fb36a27495c86846a596f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 3 Mar 2025 06:36:33 +0100 Subject: [PATCH] ein arryy decoded... angepasst --- HauptManager/module.php | 5 ++--- library.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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