Update xml_cdr.php

This commit is contained in:
FusionPBX
2020-04-28 12:00:07 -06:00
committed by GitHub
parent 61896c3e3f
commit 88846e822c

View File

@@ -818,6 +818,9 @@
$content .= "</tr>\n";
//show the leg b only to those with the permission
if (!permission_exists('xml_cdr_lose_race') && $row['hangup_cause'] == 'LOSE_RACE') {
$content = '';
}
if ($row['leg'] == 'a') {
echo $content;
}