From 2f8d2e1a2b34e8baa2ddbf2f7e374e566d348601 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 8 Jan 2008 23:27:45 +0000 Subject: [PATCH] Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the miscellaneous course category to 1 too (discussion in moodle hq skype chat with Petr) --- admin/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index fa14858c82..355fb26317 100644 --- a/admin/index.php +++ b/admin/index.php @@ -473,6 +473,7 @@ $cat = new object(); $cat->name = get_string('miscellaneous'); + $cat->depth = 1; if (!$catid = insert_record('course_categories', $cat)) { error("Serious Error! Could not set up a default course category!"); } @@ -627,4 +628,4 @@ admin_externalpage_print_footer(); -?> \ No newline at end of file +?> -- 2.39.5