From 131d96b60cf653906e7f779b9d42d918c46caeac Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 14 Dec 2020 13:21:05 -0700 Subject: [PATCH] Follow Me: Fix issue with Destinations not displaying correctly. --- app/calls/call_edit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 167c836259..830447985e 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -441,6 +441,8 @@ $parameters['follow_me_uuid'] = $follow_me_uuid; $database = new database; $result = $database->select($sql, $parameters, 'all'); + + unset($destinations); foreach ($result as $x => &$row) { $destinations[$x]['uuid'] = $row["follow_me_destination_uuid"]; $destinations[$x]['destination'] = $row["follow_me_destination"]; @@ -493,6 +495,7 @@ echo "});\n"; echo "\n"; } + //create token $object = new token; $token = $object->create($_SERVER['PHP_SELF']);