소스 검색

Device Logs requires

Use $device_address instead of $mac
Requires 5.1.0 and higher or higher
FusionPBX 1 년 전
부모
커밋
a6dc8a9c63
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]['device_uuid'] = $device_uuid;
 			$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]['http_host'] = $_SERVER['HTTP_HOST'];
 			$array['device_logs'][0]['server_port'] = $_SERVER['SERVER_PORT'];