mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
Merge branch 'wip-MDL-27825-master' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
260dd13064
@ -153,7 +153,7 @@ if (!empty($CFG->enabledevicedetection) && empty($device)) {
|
||||
//obsoleted or broken theme, just skip for now
|
||||
continue;
|
||||
}
|
||||
if (!$CFG->themedesignermode && $theme->hidefromselector) {
|
||||
if (empty($CFG->themedesignermode) && $theme->hidefromselector) {
|
||||
// The theme doesn't want to be shown in the theme selector and as theme
|
||||
// designer mode is switched off we will respect that decision.
|
||||
continue;
|
||||
@ -194,4 +194,4 @@ if (!empty($CFG->enabledevicedetection) && empty($device)) {
|
||||
|
||||
echo html_writer::table($table);
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user