Skip to content

Commit

Permalink
Fix exposed HTML chars in RX report (openemr#7058)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack5github authored and bradymiller committed Dec 2, 2023
1 parent 738fc9f commit e9b0aa0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions interface/reports/prescriptions_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,16 +287,9 @@ function show_receipt(payid) {
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 = '';
}
}
?>
Expand Down

0 comments on commit e9b0aa0

Please sign in to comment.