From c12cd0d2966b54d067cc4616d0da17755929830c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 7 Sep 2022 16:33:10 -0600 Subject: [PATCH] Unset destination_app and destination_data This fixes a bug where a blank empty value shows the previous value. --- app/destinations/destinations.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index d9e2307d98..8534ffe87d 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -346,6 +346,11 @@ echo " \n"; } echo "\n"; + + //unset the destination app and data + unset($destination_app, $destination_data); + + //increment the id $x++; } unset($destinations);