From b7e7d27c794fc6f7dbc629acf21a80499ac2d5e5 Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Sat, 25 Jun 2022 14:04:44 -0400 Subject: [PATCH] [xml_cdr] LOSE_RACE handled in wrong place (#6433) LOSE_RACE is already being handled later `if (permission_exists('xml_cdr_lose_race'))` --- app/xml_cdr/xml_cdr_statistics_inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/xml_cdr/xml_cdr_statistics_inc.php b/app/xml_cdr/xml_cdr_statistics_inc.php index f3f8529244..32141c6d34 100644 --- a/app/xml_cdr/xml_cdr_statistics_inc.php +++ b/app/xml_cdr/xml_cdr_statistics_inc.php @@ -154,7 +154,6 @@ } if ($missed == true) { $sql_where_ands[] = "missed_call = true "; - $sql_where_ands[] = "and hangup_cause <> 'LOSE_RACE' "; } if (strlen($start_epoch) > 0 && strlen($stop_epoch) > 0) { $sql_where_ands[] = "start_epoch between :start_epoch and :stop_epoch";