mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-57174_master' of git://github.com/markn86/moodle
This commit is contained in:
commit
8018dc63c7
@ -43,6 +43,7 @@ if (!in_array($mode, array('single', 'full', 'collapsed'))) {
|
||||
$mode = 'collapsed';
|
||||
}
|
||||
$PAGE->set_url('/mod/lesson/edit.php', array('id'=>$cm->id,'mode'=>$mode));
|
||||
$PAGE->force_settings_menu();
|
||||
|
||||
if ($mode != get_user_preferences('lesson_view', 'collapsed') && $mode !== 'single') {
|
||||
set_user_preference('lesson_view', $mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user