Permalink
Browse files

Call theme_setup() after change so new theme displays correctly

  • Loading branch information...
1 parent cdeabc0 commit 2230cb9178f447a9e2d010d35872a5f3ce3a51a8 ikawhero committed May 5, 2007
Showing with 2 additions and 0 deletions.
  1. +2 −0 course/category.php
View
2 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();
}
}

0 comments on commit 2230cb9

Please sign in to comment.