From 0f607e038791746e1d207be81c113b36889a88ee Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Mon, 30 Apr 2018 00:11:57 -0700 Subject: [PATCH] psr2 fixes for prior commit --- interface/main/messages/save.php | 3 +-- library/MedEx/API.php | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/interface/main/messages/save.php b/interface/main/messages/save.php index 937b7c8b0..59324c2fd 100644 --- a/interface/main/messages/save.php +++ b/interface/main/messages/save.php @@ -171,9 +171,8 @@ if (($_REQUEST['pid']) && ($_REQUEST['action'] == "new_recall")) { $query = "SELECT PLAN FROM form_eye_mag WHERE PID=? AND date < NOW() ORDER BY date DESC LIMIT 1"; $result2 = sqlQuery($query, array($_REQUEST['pid'])); if ($result2) { - $result['PLAN'] = str_replace("|", " - ", $result2['PLAN'] ); + $result['PLAN'] = str_replace("|", " - ", $result2['PLAN']); $result['PLAN'] = rtrim($result['PLAN'], "- "); - } $query = "SELECT * FROM openemr_postcalendar_events WHERE pc_pid =? ORDER BY pc_eventDate DESC LIMIT 1"; diff --git a/library/MedEx/API.php b/library/MedEx/API.php index 3b38db832..eac65fff2 100644 --- a/library/MedEx/API.php +++ b/library/MedEx/API.php @@ -2521,10 +2521,10 @@ if (!empty($logged_in['products']['not_ordered'])) { ?> setpatient(''); - var xljs_NOTE = ''; - var xljs_PthsApSched = ''; + var xljs_NOTE = ''; + var xljs_PthsApSched = '';