mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
If the uuid variable is empty try call_uuid
Found a case where the variables -> uuid doesn't exist found call_uuid as an alternative.
This commit is contained in:
@@ -349,6 +349,9 @@ if (!class_exists('xml_cdr')) {
|
||||
//check for duplicate call uuid's
|
||||
$duplicate_uuid = false;
|
||||
$uuid = urldecode($xml->variables->uuid);
|
||||
if (empty($uuid)) {
|
||||
$uuid = urldecode($xml->variables->call_uuid);
|
||||
}
|
||||
if ($uuid != null && is_uuid($uuid)) {
|
||||
//check for duplicates
|
||||
$sql = "select count(xml_cdr_uuid) ";
|
||||
|
||||
Reference in New Issue
Block a user