diff --git a/admin/index.php b/admin/index.php index fa14858c829..355fb263175 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 +?>