mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Make the rendering of the Theme Options page consistent between the first request and any errors
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user