mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
corrects "usepassword" rule 2
This commit is contained in:
parent
28b29281b5
commit
31b53a5a1e
@ -183,7 +183,7 @@ function lesson_check_text_access($path, $itemtype, $this_id, $user, $group_id,
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($lesson->usepassword && !lessonsuperuser){
|
||||
if ($lesson->usepassword && !$lessonsuperuser){
|
||||
if (!empty($CFG->search_access_debug)) echo "search reject : password required, cannot output in searches ";
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user