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 +?>