Fix the sql query

This commit is contained in:
FusionPBX
2024-11-15 14:33:17 -07:00
committed by GitHub
parent fbafcc438c
commit 3ef0f1d593

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";