mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Make the new json field operation with json_encode
This commit is contained in:
@@ -225,7 +225,7 @@
|
||||
|
||||
//if xml_cdr_archive is set to db then insert it.
|
||||
if ($xml_cdr_archive == "json") {
|
||||
$database->fields['json'] = check_str($xml_string);
|
||||
$database->fields['json'] = json_encode($xml);
|
||||
}
|
||||
|
||||
//insert the check_str($extension_uuid)
|
||||
|
||||
Reference in New Issue
Block a user