diff --git a/app/destinations/resources/classes/destinations.php b/app/destinations/resources/classes/destinations.php
index bb2738df61..b72856e724 100644
--- a/app/destinations/resources/classes/destinations.php
+++ b/app/destinations/resources/classes/destinations.php
@@ -323,7 +323,9 @@ if (!class_exists('destinations')) {
$destination_label = str_replace("menu-exec-app", "", $destination_label);
$destination_label = str_replace("transfer", "", $destination_label);
$destination_label = str_replace("XML ".$_SESSION['domain_name'], "", $destination_label);
- $response .= " \n";
+ if ($destination_value != '' || $destination_label != '') {
+ $response .= " \n";
+ }
}
$response .= " \n";
if (if_group("superadmin")) {