Update xml_cdr_details.php

This commit is contained in:
FusionPBX
2018-05-19 13:24:23 -06:00
committed by GitHub
parent 70f9d4944d
commit 7017be2e74

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' ";