소스 검색

Change array from ['result']['field'] to ['field'].

markjcrane 10 년 전
부모
커밋
a86e3ef210
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      resources/classes/destinations.php

+ 2 - 2
resources/classes/destinations.php

@@ -85,8 +85,8 @@ class destinations {
 			$this->destinations[$x]['type'] = 'array';
 			$this->destinations[$x]['label'] = 'other';
 			$this->destinations[$x]['name'] = 'dialplan';
-			$this->destinations[$x]['result']['field']['name'] = "name";
-			$this->destinations[$x]['result']['field']['destination'] = "destination";
+			$this->destinations[$x]['field']['name'] = "name";
+			$this->destinations[$x]['field']['destination'] = "destination";
 			$this->destinations[$x]['select_value']['dialplan'] = "transfer:\${destination}";
 			$this->destinations[$x]['select_value']['ivr'] = "menu-exec-app:transfer \${destination}";
 			$this->destinations[$x]['select_label'] = "\$name";