From 30e8babd6dab705c5fd412d05dbe0c70fce4bdc9 Mon Sep 17 00:00:00 2001 From: flop25 Date: Thu, 29 Jun 2017 16:25:26 +0200 Subject: [PATCH] pwg_token left for cat_options pages solving https://github.com/Piwigo/Piwigo/issues/721 --- admin/cat_options.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/cat_options.php b/admin/cat_options.php index 5fd4d04ce..ed5ba27f5 100644 --- a/admin/cat_options.php +++ b/admin/cat_options.php @@ -83,6 +83,7 @@ else if (isset($_POST['trueify']) and isset($_POST['cat_false']) and count($_POST['cat_false']) > 0) { + check_pwg_token(); check_input_parameter('cat_false', $_POST, true, PATTERN_ID); switch ($_GET['section']) {