Update xml_cdr_details.php

This commit is contained in:
FusionPBX
2018-05-19 13:25:02 -06:00
committed by GitHub
parent 71e115dcc2
commit 7d45353229

View File

@@ -49,7 +49,7 @@
//get the cdr string from the database
$sql = "select * from v_xml_cdr ";
if ($_GET['showall'] && permission_exists('xml_cdr_all')) {
if (permission_exists('xml_cdr_all')) {
$sql .= "where uuid = '$uuid' ";
} else {
$sql .= "where uuid = '$uuid' and domain_uuid = '$domain_uuid' ";