Update xml_cdr_inc.php

This commit is contained in:
FusionPBX 2019-06-17 23:35:48 -06:00 committed by GitHub
parent 5c9366de05
commit 788614f74e
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@
} }
if (!permission_exists('xml_cdr_domain')) { //only show the user their calls if (!permission_exists('xml_cdr_domain')) { //only show the user their calls
echo "and (extension_uuid = '".implode("' or extension_uuid = '", $extension_uuids)."') "; $sql .= "and (c.extension_uuid = '".implode("' or c.extension_uuid = '", $extension_uuids)."') ";
} }
if ($missed == true) { if ($missed == true) {
$sql .= "and missed_call = 1 \n"; $sql .= "and missed_call = 1 \n";