Fix the sql query

This commit is contained in:
FusionPBX 2024-11-15 14:32:45 -07:00 committed by GitHub
parent d562d11528
commit 7f527aba07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ if (!class_exists('destinations')) {
} }
$sql .= " and direction = 'inbound' \n"; $sql .= " and direction = 'inbound' \n";
$sql .= " and caller_destination is not null \n"; $sql .= " and caller_destination is not null \n";
$sql .= " leg = 'a' \n"; $sql .= " and leg = 'a' \n";
$sql .= $sql_date_range ?? ''; $sql .= $sql_date_range ?? '';
$sql .= ") as c \n"; $sql .= ") as c \n";