Remove is_array on extension_uuids

This commit is contained in:
FusionPBX 2020-05-14 20:48:57 -06:00 committed by GitHub
parent a24d77f427
commit d53bf56ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@
$sql .= "where c.domain_uuid = :domain_uuid \n"; $sql .= "where c.domain_uuid = :domain_uuid \n";
$parameters['domain_uuid'] = $domain_uuid; $parameters['domain_uuid'] = $domain_uuid;
} }
if (!permission_exists('xml_cdr_domain') && is_array($extension_uuids)) { //only show the user their calls if (!permission_exists('xml_cdr_domain')) { //only show the user their calls
$sql .= "and (c.extension_uuid = '".implode("' or c.extension_uuid = '", $extension_uuids)."') "; $sql .= "and (c.extension_uuid = '".implode("' or c.extension_uuid = '", $extension_uuids)."') ";
} }
if ($missed == true) { if ($missed == true) {