Update xml_cdr_inc.php

This commit is contained in:
FusionPBX 2018-02-09 13:39:32 -07:00 committed by GitHub
parent 38466edc4f
commit 76d12a750c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -385,6 +385,11 @@
$sql .= $field_name.", ";
}
}
if (is_array($_SESSION['cdr']['export'])) {
foreach ($_SESSION['cdr']['export'] as $field) {
$sql .= $field.", ";
}
}
$sql .= "accountcode, ";
$sql .= "answer_stamp, ";
$sql .= "sip_hangup_disposition, ";