Browse Source

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

markjcrane 10 years ago
parent
commit
a86e3ef210
1 changed files with 2 additions and 2 deletions
  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";