- debugage\n- version avec plugins fonctionnels

This commit is contained in:
DTux committed 2022-02-25 20:42:33 +01:00
1 parent f6b7b9e664
commit a29aa9b653
6 files changed
+20 -18

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ class db extends mysqli
//var_dump($device);
$ieeeAddress = $device->ieeeAddress;
//print_r($ieeeAddress);
$query = "INSERT INTO logs (device, property, value) VALUES('" . $this->protect($ieeeAddress) . "', '" . $this->protect($property) . "', '" . $this->protect($value) . "')";
$query = "INSERT INTO logs (device, property, value) VALUES('" . $this->protect($ieeeAddress) . "', '" . $this->protect($property) . "', '" . $this->protect(bool2string($value)) . "')";
echo $query;
if (is_numeric($value) and !empty($properties2log[$property]))
{