From: mjollnir_ Date: Fri, 21 Apr 2006 03:09:58 +0000 (+0000) Subject: Only force topic section in front page if ALL options are set to hide, not if we... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9e3e6be8e776d034fed0de04cf7c4e9435826af8;p=moodle.git Only force topic section in front page if ALL options are set to hide, not if we have news --- diff --git a/admin/site.php b/admin/site.php index 5441b64b45..17c40d5225 100644 --- a/admin/site.php +++ b/admin/site.php @@ -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 }