From fccdeaa3b9a937162ddaa18ba7a8198090e9537c Mon Sep 17 00:00:00 2001 From: jhartworks Date: Thu, 16 Apr 2026 13:16:39 +0200 Subject: [PATCH] fix: update meterId assignment to use object property access --- CounterServer/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CounterServer/module.php b/CounterServer/module.php index e8b0db7..0c0b459 100644 --- a/CounterServer/module.php +++ b/CounterServer/module.php @@ -104,7 +104,7 @@ class CounterServer extends IPSModule continue; } - $meterId = (int)$res[0]['id']; + $meterId = $res[0]->id; // ---------- INSERT measurement ---------- $sqlInsert = "