From: ikawhero Date: Sat, 5 May 2007 07:43:08 +0000 (+0000) Subject: Call theme_setup() after change so new theme displays correctly X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2230cb9178f447a9e2d010d35872a5f3ce3a51a8;p=moodle.git Call theme_setup() after change so new theme displays correctly --- diff --git a/course/category.php b/course/category.php index 2690cb26fc..e082827e9c 100644 --- a/course/category.php +++ b/course/category.php @@ -65,6 +65,8 @@ $category->theme = $categorytheme; if (! set_field('course_categories', 'theme', $category->theme, 'id', $category->id)) { notify('An error occurred while setting the theme'); + } else { + theme_setup(); } }