summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-04 13:48:52 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-04 13:48:52 -0800
commit267b3a1623ebb3d9db2209adc1b14f4c882c3611 (patch)
tree3faf07443f917ba198f17202932c70af8a2118b6
parent5c107be9033ae48f781c8430702458f613e791ee (diff)
Make the rendering of the Theme Options page consistent between the first request and any errors
-rw-r--r--modules/gallery/controllers/admin_theme_options.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_theme_options.php b/modules/gallery/controllers/admin_theme_options.php
index 9de54c78..6297e4aa 100644
--- a/modules/gallery/controllers/admin_theme_options.php
+++ b/modules/gallery/controllers/admin_theme_options.php
@@ -64,7 +64,8 @@ class Admin_Theme_Options_Controller extends Admin_Controller {
url::redirect("admin/theme_options");
} else {
$view = new Admin_View("admin.html");
- $view->content = $form;
+ $view->content = new View("admin_theme_options.html");
+ $view->content->form = $form;
print $view;
}
}