From 8a34d56b4b1467f0cf6d926315b1c06d789c4520 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 12 Mar 2026 22:35:42 +0000 Subject: [PATCH] Remove empty function from the destination_trunk_prefix Empty treats 0 as empty which means the trunk prefix is not included. So to fix this issue had to remove the empty function. --- app/destinations/destination_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 9669cdc090..f86bc6f3be 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -396,7 +396,7 @@ if (isset($destination_prefix) && !empty($destination_prefix)) { $destination_numbers['destination_prefix'] = $destination_prefix; } - if (isset($destination_trunk_prefix) && !empty($destination_trunk_prefix)) { + if (isset($destination_trunk_prefix)) { $destination_numbers['destination_trunk_prefix'] = $destination_trunk_prefix; } if (isset($destination_area_code) && !empty($destination_area_code)) {