Skip to content

Commit 97cf40b

Browse files
committed
Attendances: Fix variables filtering issues - refs #3093
1 parent 7a34617 commit 97cf40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/mySpace/myStudents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@
10131013
$defaults['startDate'] = $startDateText;
10141014
$defaults['endDate'] = $endDateText;
10151015
$form = new FormValidator('all_attendance_list', 'GET',
1016-
'myStudents.php?action=all_attendance&student='.$_GET['student'].'&startDate='.$defaults['startDate'].'&endDate='.$defaults['endDate'].'&&'.api_get_cidreq(),
1016+
'myStudents.php?action=all_attendance&student='.$student_id.'&startDate='.$defaults['startDate'].'&endDate='.$defaults['endDate'].'&&'.api_get_cidreq(),
10171017
'');
10181018
$form->addElement('html', '<input type="hidden" name="student" value="'.$student_id.'" >');
10191019
$form->addElement('html', '<input type="hidden" name="action" value="all_attendance" >');

0 commit comments

Comments
 (0)