diff --git a/app/destinations/resources/classes/destinations.php b/app/destinations/resources/classes/destinations.php index 29c158a1d7..c5117aff54 100644 --- a/app/destinations/resources/classes/destinations.php +++ b/app/destinations/resources/classes/destinations.php @@ -457,12 +457,12 @@ if (!class_exists('destinations')) { //get the destinations $destination = new destinations; - if (!isset($_SESSION['destinations']['array'][$destination_type])) { - $_SESSION['destinations']['array'][$destination_type] = $destination->get($destination_type); + if (!isset($_SESSION['destinations'][$this->domain_uuid]['array'][$destination_type])) { + $_SESSION['destinations'][$this->domain_uuid]['array'][$destination_type] = $destination->get($destination_type); } //get the destination label - foreach($_SESSION['destinations']['array'][$destination_type] as $key => $value) { + foreach($_SESSION['destinations'][$this->domain_uuid]['array'][$destination_type] as $key => $value) { foreach($value as $k => $row) { if ($destination_value == $row['destination']) { $destination_key = $key; @@ -478,7 +478,7 @@ if (!class_exists('destinations')) { //build the destination select list in html $response .= " \n"; $response .= "