summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_theme_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/admin_theme_details.php')
-rw-r--r--modules/gallery/controllers/admin_theme_details.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_theme_details.php b/modules/gallery/controllers/admin_theme_details.php
index fec1311b..97696df5 100644
--- a/modules/gallery/controllers/admin_theme_details.php
+++ b/modules/gallery/controllers/admin_theme_details.php
@@ -26,6 +26,8 @@ class Admin_Theme_Details_Controller extends Admin_Controller {
}
public function save() {
+ access::verify_csrf();
+
$form = theme::get_edit_form_admin();
if ($form->validate()) {
module::set_var("gallery", "page_size", $form->edit_theme->page_size->value);