diff --git a/resources/classes/destinations.php b/resources/classes/destinations.php index 14d2843ebd..98a7cfc5fd 100644 --- a/resources/classes/destinations.php +++ b/resources/classes/destinations.php @@ -110,7 +110,7 @@ class destinations { public function select($destination_type, $destination_name, $destination_value) { //get the array - $destinations = $this->get_array(); + $switch['destinations'] = $this->get_array(); //remove special characters from the name $destination_id = str_replace("]", "", $destination_name); @@ -165,7 +165,7 @@ class destinations { //print_r($switch); $response .= "