Skip to content

Commit

Permalink
Fix bad PID variable lookup in appt widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony McCormick committed Mar 3, 2016
1 parent 4fc2dd2 commit fb103e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/patient_file/summary/demographics.php
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ function setMyPatient() {
$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);
//////

Expand Down

0 comments on commit fb103e9

Please sign in to comment.