Comment out the json results so that the code uses less RAM.

This commit is contained in:
FusionPBX 2020-09-16 15:26:50 -06:00 committed by GitHub
parent c84454bef3
commit 4b413ee745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@
$sql .= "c.source_number, \n";
$sql .= "c.destination_number, \n";
$sql .= "c.leg, \n";
$sql .= "(c.xml is not null or c.json is not null) as raw_data_exists, \n";
$sql .= "c.json, \n";
//$sql .= "(c.xml is not null or c.json is not null) as raw_data_exists, \n";
//$sql .= "c.json, \n";
if (is_array($_SESSION['cdr']['field'])) {
foreach ($_SESSION['cdr']['field'] as $field) {
$array = explode(",", $field);