Make the rendering of the Theme Options page consistent between the first request and any errors

This commit is contained in:
Tim Almdal
2009-12-04 13:48:52 -08:00
parent 5c107be903
commit 267b3a1623
@@ -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;
}
}