From 2230cb9178f447a9e2d010d35872a5f3ce3a51a8 Mon Sep 17 00:00:00 2001 From: ikawhero Date: Sat, 5 May 2007 07:43:08 +0000 Subject: [PATCH] Call theme_setup() after change so new theme displays correctly --- course/category.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/course/category.php b/course/category.php index 2690cb26f..e082827e9 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(); } } -- 2.11.4.GIT