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

This commit is contained in:
markjcrane 2015-08-09 12:00:42 -06:00
parent bf8a24d5ee
commit 16b73d63d8
1 changed files with 2 additions and 2 deletions

View File

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