From af70031477cbb4c69f411a6261ff70d9bceef470 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Mon, 2 Jul 2012 14:26:15 +0800 Subject: [PATCH] MDL-29969 Administration: Default value for numsections is set to 1 for site frontpage --- lib/db/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/install.php b/lib/db/install.php index 8ad8f1a007b..d9ac24d71ef 100644 --- a/lib/db/install.php +++ b/lib/db/install.php @@ -45,7 +45,7 @@ function xmldb_main_install() { $newsite->shortname = ''; $newsite->summary = NULL; $newsite->newsitems = 3; - $newsite->numsections = 0; + $newsite->numsections = 1; $newsite->category = 0; $newsite->format = 'site'; // Only for this course $newsite->timecreated = time();