Skip to content

Commit

Permalink
escape strings - brady's comment on pr openemr#7359
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthkonyn committed Apr 23, 2024
1 parent 2500b2c commit 7f23ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/patient_file/history/encounters.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function changePageSize() {
$name = getPatientNameFirstLast($pid);
$dob = text(oeFormatShortDate(getPatientData($pid, "DOB")['DOB']));
$external_id = getPatientData($pid, "pubpid")['pubpid'];
echo $name . " (" . $external_id . ")" . "    DOB: " . $dob ;
echo text($name) . " (" . text($external_id) . ")" . "    DOB: " . $dob ;
}
?>
</span>
Expand Down

0 comments on commit 7f23ec4

Please sign in to comment.