- debugage\n- version avec plugins fonctionnels
This commit is contained in:
		| @@ -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])) | ||||
| 			{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user