- indexFriendlyName modified\n- debugging
This commit is contained in:
		| @@ -43,6 +43,7 @@ class db extends mysqli | ||||
| 		if (array_key_exists($property, $properties2log)) | ||||
| 		{ | ||||
| 			//echo "logging in database"; | ||||
| 			//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) . "')"; | ||||
|   | ||||
| @@ -31,7 +31,6 @@ class device | ||||
| 	public $description; | ||||
| 	public $functions; | ||||
| 	public $payload; | ||||
| 	public $availability; | ||||
| 	public $toConfirm; | ||||
| 	public $triggerDevice; | ||||
| 	public $properties = array(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user