tmccormi wrote on Thursday, March 03, 2016:
Current DevTip
It shows all appts for any patient on any other patient…
here’s the fix… I’m going to push this fix this evening.
diff --git a/interface/patient_file/summary/demographics.php b/interface/patient_file/summary/demographics.php
index c4121db..143305d 100644
--- a/interface/patient_file/summary/demographics.php
+++ b/interface/patient_file/summary/demographics.php
@@ -1359,7 +1359,7 @@ expand_collapse_widget($widgetTitle, $widgetLabel, $widgetButtonLabel,
$apptNum = (int)$GLOBALS['number_of_appts_to_show'];
if($apptNum != 0) $apptNum2 = abs($apptNum);
else $apptNum2 = 10;
- $events = fetchNextXAppts($current_date2, $patient_id, $apptNum2);
+ $events = fetchNextXAppts($current_date2, $pid, $apptNum2);
$events = sortAppointments($events);
//////