[xml_cdr] LOSE_RACE handled in wrong place (#6433)
LOSE_RACE is already being handled later `if (permission_exists('xml_cdr_lose_race'))`
This commit is contained in:
@@ -154,7 +154,6 @@
|
|||||||
}
|
}
|
||||||
if ($missed == true) {
|
if ($missed == true) {
|
||||||
$sql_where_ands[] = "missed_call = true ";
|
$sql_where_ands[] = "missed_call = true ";
|
||||||
$sql_where_ands[] = "and hangup_cause <> 'LOSE_RACE' ";
|
|
||||||
}
|
}
|
||||||
if (strlen($start_epoch) > 0 && strlen($stop_epoch) > 0) {
|
if (strlen($start_epoch) > 0 && strlen($stop_epoch) > 0) {
|
||||||
$sql_where_ands[] = "start_epoch between :start_epoch and :stop_epoch";
|
$sql_where_ands[] = "start_epoch between :start_epoch and :stop_epoch";
|
||||||
|
|||||||
Reference in New Issue
Block a user