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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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