From ae77a3901e11c5bd024753e284dae6b546d940e3 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Thu, 16 Apr 2026 14:04:36 +0200 Subject: [PATCH] fix: correct SQL insert statement for projectId by fixing string concatenation --- CounterServer/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CounterServer/module.php b/CounterServer/module.php index 91273ad..cb6c452 100644 --- a/CounterServer/module.php +++ b/CounterServer/module.php @@ -71,7 +71,7 @@ class CounterServer extends IPSModule (project_id, counter_id, meter_uuid, external_id, external_name, meter_type, billing_unit, is_active) VALUES ( - " . $this->esc($projectId) . "', + '" . $this->esc($projectId) . "', '" . $this->esc($counterId) . "', '" . hash('sha256', $projectId.$clientId . '_' . $counterId) . "', '" . $this->esc($clientId) . "',