From ba0dde97856f7b3fc3dd436eddf19ee5d8d104f9 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 b3e9aa23c88..787b871d8b2 100644 --- a/lib/db/install.php +++ b/lib/db/install.php @@ -72,7 +72,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();