فهرست منبع

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