Call theme_setup() after change so new theme displays correctly

This commit is contained in:
ikawhero
2007-05-05 07:43:08 +00:00
parent cdeabc0638
commit 2230cb9178
+2
View File
@@ -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();
}
}