Update xml_cdr_inc.php

This commit is contained in:
FusionPBX 2018-06-26 11:38:23 -06:00 committed by GitHub
parent 749b1e5446
commit cab71f9bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@
$mod_caller_id_name = str_replace("*", "%", $caller_id_name);
$sql_where_ands[] = "caller_id_name like '".$mod_caller_id_name."'";
}
if (strlen($caller_extension_uuid) > 0) {
if (strlen($caller_extension_uuid) > 0 && is_uuid($caller_extension_uuid)) {
$sql_where_ands[] = "extension_uuid = '".$caller_extension_uuid."'";
}
if (strlen($caller_id_number) > 0) {