We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec868f2 commit 9b01fdeCopy full SHA for 9b01fde
functions/Search.fnc.php
@@ -34,8 +34,8 @@ function Search($type,$extra=null)
34
{
35
if(UserStudentID())
36
37
- //modif Francois: fix bug no student found when student logged in
38
- if (User('PROFILE')!=='student')
+ //modif Francois: fix bug no student found when student/parent logged in
+ if (User('PROFILE')!=='student' && User('PROFILE')!=='parent')
39
unset($_SESSION['student_id']);
40
echo '<script type="text/javascript">parent.side.location="'.$_SESSION['Side_PHP_SELF'].'?modcat="+parent.side.document.forms[0].modcat.value;</script>';
41
}
0 commit comments