fix: correct SQL insert statement for projectId by fixing string concatenation

This commit is contained in:
jhartworks
2026-04-16 14:04:36 +02:00
parent 71c02b2973
commit ae77a3901e
+1 -1
View File
@@ -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) . "',