From: Kevin Yeh Date: Fri, 21 Dec 2012 09:04:32 +0000 (-0500) Subject: Fix for incorrect syntax in disc_fragment.php X-Git-Tag: whats-been-changed~471 X-Git-Url: https://repo.or.cz/w/openemr.git/commitdiff_plain/227e448b32aea77b56c642dca6f290d0f7a8b0e5 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 --- 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