From 1477526fd17334f59161d8e63fc8fbc10e221b9f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 4 Oct 2019 13:16:21 -0600 Subject: [PATCH] Update xml_cdr.php --- app/xml_cdr/xml_cdr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index ae57cf6b67..aa5e90a559 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -609,8 +609,8 @@ $content .= "\n"; } - if (permission_exists('xml_cdr_details') && $row['raw_data_exists']) { - $tr_link = "href='xml_cdr_details.php?id=".escape($row['xml_cdr_uuid']).(($_REQUEST['show']) ? "&show=all" : null)."'"; + if (permission_exists('xml_cdr_details')) { + $tr_link = "href='xml_cdr_details.php?id=".urlencode($row['xml_cdr_uuid']).(($_REQUEST['show']) ? "&show=all" : null)."'"; } else { $tr_link = null; @@ -858,4 +858,4 @@ //show the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>