Update xml_cdr.php
This commit is contained in:
@@ -818,6 +818,9 @@
|
|||||||
$content .= "</tr>\n";
|
$content .= "</tr>\n";
|
||||||
|
|
||||||
//show the leg b only to those with the permission
|
//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') {
|
if ($row['leg'] == 'a') {
|
||||||
echo $content;
|
echo $content;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user