Make the new json field operation with json_encode

This commit is contained in:
Mark Crane 2014-06-14 04:58:50 +00:00
parent 03f65b036f
commit c324d5a1ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)