Make the new json field operation with json_encode
This commit is contained in:
parent
03f65b036f
commit
c324d5a1ce
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue