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.
This commit is contained in:
FusionPBX
2026-03-12 22:33:41 +00:00
committed by GitHub
parent 8c1df99ffc
commit c771179afc
+1 -1
View File
@@ -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)) {