From 32405667304705b472ea001d7fb70a784f2d4904 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Wed, 1 Jul 2020 18:34:14 -0700 Subject: [PATCH] recall critical fix (#3705) --- interface/main/messages/save.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/main/messages/save.php b/interface/main/messages/save.php index 1c69e7a82b6..f0a6220d8e1 100644 --- a/interface/main/messages/save.php +++ b/interface/main/messages/save.php @@ -157,6 +157,8 @@ $query = "SELECT * FROM patient_data WHERE pid=?"; $result = sqlQuery($query, array($_REQUEST['pid'])); $result['age'] = $MedEx->events->getAge($result['DOB']); + // uuid is binary and will break json_encode in binary form (not needed, so will remove it from $result array) + unset($result['uuid']); /** * Did the clinician create a PLAN at the last visit?