Skip to content

Commit

Permalink
bug: fix variable typo in messages.php (openemr#7466)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwaite committed Jun 10, 2024
1 parent f476202 commit 1e5f32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/main/messages/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
$datetime = isset($_POST['form_datetime']) ? DateTimeToYYYYMMDDHHMMSS($_POST['form_datetime']) : '';
foreach ($assigned_to_list as $assigned_to) {
if ($noteid && $assigned_to != '-patient-') {
if (checkPnotesNoteId($note_id, $_SESSION['authUser'])) {
if (checkPnotesNoteId($noteid, $_SESSION['authUser'])) {
updatePnote($noteid, $note, $form_note_type, $assigned_to, $form_message_status, $datetime);
$noteid = '';
} else {
Expand Down

0 comments on commit 1e5f32c

Please sign in to comment.