fix: update meterId assignment to use object property access

This commit is contained in:
jhartworks committed 2026-04-16 13:16:39 +02:00
1 parent 1e182e8d80
commit fccdeaa3b9
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ class CounterServer extends IPSModule
continue; continue;
} }
$meterId = (int)$res[0]['id']; $meterId = $res[0]->id;
// ---------- INSERT measurement ---------- // ---------- INSERT measurement ----------
$sqlInsert = " $sqlInsert = "