From bca1e75e0251c0e897628016390138629c160525 Mon Sep 17 00:00:00 2001 From: MD Riaz Date: Thu, 19 Oct 2023 23:21:24 +0600 Subject: [PATCH] illogical condition specified in fax_send (#6812) --- app/fax/fax_send.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index c4220628b3..959b18296d 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -738,7 +738,7 @@ if (!function_exists('fax_split_dtmf')) { $channel_variables["toll_allow"] = !empty($fax_toll_allow) ? $fax_toll_allow : null; $route_array = outbound_route_to_bridge($domain_uuid, $fax_prefix . $fax_number, $channel_variables); - if (!empty($route_array) && count($route_array) == 0) { + if (empty($route_array)) { //send the internal call to the registered extension $fax_uri = "user/".$fax_number."@".$domain_name; $fax_variables = ''; @@ -1178,5 +1178,3 @@ function showgrid($pdf) { } } */ - -?>