1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 09:55:33 +02:00

Only force topic section in front page if ALL options are set to hide, not if we have news

This commit is contained in:
mjollnir_ 2006-04-21 03:09:58 +00:00
parent e315e16c68
commit 9e3e6be8e7

@ -33,7 +33,7 @@
asort($form->frontpage);
$form->frontpage = implode(',',array_flip($form->frontpage));
set_config("frontpage", $form->frontpage);
if (!$form->frontpage) {
if ($form->frontpage == '') {
$form->numsections = 1; // Force the topic display for this format
}