Update messages_thread.php

This commit is contained in:
FusionPBX 2019-08-21 01:09:07 -06:00 committed by GitHub
parent d3679bbefa
commit c48a160af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
//get number of messages to load
$number = preg_replace('{[\D]}', '', $_GET['number']);
$contact_uuid = $_GET['contact_uuid'];
$contact_uuid = (is_uuid($_GET['contact_uuid'])) ? $_GET['contact_uuid'] : null;
//set refresh flag
$refresh = $_GET['refresh'] == 'true' ? true : false;
@ -335,4 +335,4 @@
}
}
?>
?>