From ee497c532e28f002f390fac4c97492270010c18a Mon Sep 17 00:00:00 2001 From: Jack5 <32806494+jack5github@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:36:09 +1100 Subject: [PATCH] Fix exposed HTML chars in RX report (#7058) --- interface/reports/prescriptions_report.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/interface/reports/prescriptions_report.php b/interface/reports/prescriptions_report.php index ee4895df5..42216fda6 100644 --- a/interface/reports/prescriptions_report.php +++ b/interface/reports/prescriptions_report.php @@ -287,16 +287,9 @@ if (!empty($_POST['form_refresh'])) { generate_display_field(array('data_type' => '1','list_id' => 'drug_interval'), $row['interval']); //if ($row['patient_id'] == $last_patient_id) { if (strcmp($row['pubpid'], $last_patient_id) == 0) { - $patient_name = ' '; - $patient_id = ' '; + $patient_name = $patient_id = ''; if ($row['id'] == $last_prescription_id) { - $prescription_id = ' '; - $drug_name = ' '; - $ndc_number = ' '; - $drug_units = ' '; - $refills = ' '; - $reactions = ' '; - $instructed = ' '; + $prescription_id = $drug_name = $ndc_number = $drug_units = $refills = $reactions = $instructed = ''; } } ?> -- 2.11.4.GIT