[svn r12977] when a user was student in a course (whithout a session) and coach in this same course (whithin a session), the student status was taken. Now it's the contrary

skala
Eric Marguin 19 years ago
parent 988e72c528
commit 28aa24be8f
  1. 2
      main/inc/local.inc.php

@ -647,7 +647,7 @@ if ((isset($uidReset) && $uidReset) || (isset($cidReset) && $cidReset)) // sessi
api_session_register('_courseUser');
}
else // this user has no status related to this course
if (!$is_courseAdmin) // this user has no status related to this course
{
// is it the session coach ?

Loading…
Cancel
Save