fix: update meterId assignment to use object property access
This commit is contained in:
@@ -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 = "
|
||||||
|
|||||||
Reference in New Issue
Block a user