Change a POST to a GET on the advanced search for CDR.

This commit is contained in:
markjcrane
2016-02-23 18:15:07 -07:00
parent bfd2d791b9
commit d58122aa56
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -309,11 +309,11 @@ else {
$sql .= "rtp_audio_in_mos, ";
}
$sql .= "(answer_epoch - start_epoch) as tta ";
if ($_GET['showall'] && permission_exists('xml_cdr_all')) {
if ($_REQUEST['showall'] == "true" && permission_exists('xml_cdr_all')) {
$sql .= ", domain_name ";
}
$sql .= "from v_xml_cdr ";
if ($_GET['showall'] && permission_exists('xml_cdr_all')) {
if ($_REQUEST['showall'] == "true" && permission_exists('xml_cdr_all')) {
if ($sql_where) { $sql .= "where "; }
} else {
$sql .= "where domain_uuid = '".$domain_uuid."' ";