Merge branch 'MDL-46946-master-reqcusfield' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2016-09-28 02:12:59 +02:00
10 changed files with 142 additions and 12 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ function useredit_setup_preference_page($userid, $courseid) {
// Remote users cannot be edited.
if (is_mnet_remote_user($user)) {
if (user_not_fully_set_up($user)) {
if (user_not_fully_set_up($user, false)) {
$hostwwwroot = $DB->get_field('mnet_host', 'wwwroot', array('id' => $user->mnethostid));
print_error('usernotfullysetup', 'mnet', '', $hostwwwroot);
}