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:35:42 +00:00
committed by GitHub
parent 448fe1af55
commit 8a34d56b4b

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)) {