Selaa lähdekoodia

Device Logs requires

Use $device_address instead of $mac
Requires 5.1.0 and higher or higher
FusionPBX 1 vuosi sitten
vanhempi
commit
a6dc8a9c63
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      resources/device_logs.php

+ 1 - 1
resources/device_logs.php

@@ -39,7 +39,7 @@
 			$array['device_logs'][0]['domain_uuid'] = $_SESSION['domain_uuid'];
 			$array['device_logs'][0]['domain_uuid'] = $_SESSION['domain_uuid'];
 			$array['device_logs'][0]['device_uuid'] = $device_uuid;
 			$array['device_logs'][0]['device_uuid'] = $device_uuid;
 			$array['device_logs'][0]['timestamp'] = 'now';
 			$array['device_logs'][0]['timestamp'] = 'now';
-			$array['device_logs'][0]['device_address'] = $mac;
+			$array['device_logs'][0]['device_address'] = $device_address;
 			$array['device_logs'][0]['request_scheme'] = $_SERVER['REQUEST_SCHEME'];
 			$array['device_logs'][0]['request_scheme'] = $_SERVER['REQUEST_SCHEME'];
 			$array['device_logs'][0]['http_host'] = $_SERVER['HTTP_HOST'];
 			$array['device_logs'][0]['http_host'] = $_SERVER['HTTP_HOST'];
 			$array['device_logs'][0]['server_port'] = $_SERVER['SERVER_PORT'];
 			$array['device_logs'][0]['server_port'] = $_SERVER['SERVER_PORT'];