mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Check for null uuid's (#4402)
Null UUID's are not very kind. They will sneak into your CDR's when you aren't looking and break an otherwise very nice database INSERT statement. We cannot tolerate that sort of behavior.
This commit is contained in:
@@ -266,7 +266,7 @@ if (!class_exists('xml_cdr')) {
|
||||
}
|
||||
|
||||
//process data if the call detail record is not a duplicate
|
||||
if ($duplicate_uuid == false) {
|
||||
if ($duplicate_uuid == false && $uuid != null) {
|
||||
//get the destination number
|
||||
if ($xml->variables->current_application == "bridge") {
|
||||
$current_application_data = urldecode($xml->variables->current_application_data);
|
||||
|
||||
Reference in New Issue
Block a user