From 16b73d63d8bec0a3c66662a41ea50e36030a029c Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sun, 9 Aug 2015 12:00:42 -0600 Subject: [PATCH] Change array from ['result']['field'] to ['field']. --- resources/classes/destinations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/classes/destinations.php b/resources/classes/destinations.php index 962d2fb9a3..d9c600190a 100644 --- a/resources/classes/destinations.php +++ b/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";