From 227e448b32aea77b56c642dca6f290d0f7a8b0e5 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Fri, 21 Dec 2012 04:04:32 -0500 Subject: [PATCH] Fix for incorrect syntax in disc_fragment.php Address-PHP Notice: Use of undefined constant event - assumed \'event\' in /var/www/openemr/interface/patient_file/summary/disc_fragment.php on line 62, referer: http://emr100/openemr/interface/patient_file/summary/demographics.php --- interface/patient_file/summary/disc_fragment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/patient_file/summary/disc_fragment.php b/interface/patient_file/summary/disc_fragment.php index fb5938ea0..79796a115 100644 --- a/interface/patient_file/summary/disc_fragment.php +++ b/interface/patient_file/summary/disc_fragment.php @@ -59,7 +59,7 @@ if ($result != null){ foreach ($result as $iter) { $has_disclosure = 1; - $app_event=$iter{event}; + $app_event=$iter{"event"}; $event=split("-",$app_event); $description=nl2br(htmlspecialchars($iter{"description"},ENT_NOQUOTES));//for line breaks. //listing the disclosures -- 2.11.4.GIT