From 84a3ab143d16c7863f263845f2125ae6bd4109b3 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 5 Aug 2022 14:35:54 -0600 Subject: [PATCH] Needs to use double equals for the condition. --- app/xml_cdr/resources/classes/xml_cdr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index fc3a4254c4..b6d0c32f43 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -382,11 +382,11 @@ if (!class_exists('xml_cdr')) { //fax server $missed_call = 'false'; } - elseif ($xml->variables->hangup_cause = 'LOSE_RACE') { + elseif ($xml->variables->hangup_cause == 'LOSE_RACE') { //ring group or multi destination bridge statement $missed_call = 'false'; } - elseif ($xml->variables->hangup_cause = 'NO_ANSWER' && isset($xml->variables->originating_leg_uuid)) { + elseif ($xml->variables->hangup_cause == 'NO_ANSWER' && isset($xml->variables->originating_leg_uuid)) { //ring group or multi destination bridge statement $missed_call = 'false'; }