浏览代码

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";