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 2ab1c81d98
commit 0a37951438

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)