diff --git a/main/inc/lib/usermanager.lib.php b/main/inc/lib/usermanager.lib.php index bce2d82554..dd76e46587 100755 --- a/main/inc/lib/usermanager.lib.php +++ b/main/inc/lib/usermanager.lib.php @@ -170,6 +170,7 @@ class UserManager * @param int $creatorId * * @return mixed new user id - if the new user creation succeeds, false otherwise + * * @desc The function tries to retrieve user id from the session. * If it exists, the current user id is the creator id. If a problem arises, * @assert ('Sam','Gamegie',5,'sam@example.com','jo','jo') > 1 diff --git a/main/install/install.lib.php b/main/install/install.lib.php index 7bffcb5d89..2344462e4e 100755 --- a/main/install/install.lib.php +++ b/main/install/install.lib.php @@ -3374,7 +3374,7 @@ function finishInstallationWithContainer( '', false, //$send_mail = false, true, //$isAdmin = false - '', + '', false, '', 1 diff --git a/user_portal.php b/user_portal.php index 0303ab7435..4bcbccdaad 100755 --- a/user_portal.php +++ b/user_portal.php @@ -188,7 +188,7 @@ if (!$myCourseListAsCategory) { } // Check if a user is enrolled only in one course for going directly to the course after the login. -if (api_get_setting('go_to_course_after_login') == 'true') { +if (api_get_setting('go_to_course_after_login') === 'true') { $count_of_sessions = $courseAndSessions['session_count']; $count_of_courses_no_sessions = $courseAndSessions['course_count']; // User is subscribe in 1 session and 0 courses.