illogical condition specified in fax_send (#6812)

This commit is contained in:
MD Riaz 2023-10-19 23:21:24 +06:00 committed by GitHub
parent 6487688b50
commit bca1e75e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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) {
}
}
*/
?>