Skip to content
Permalink
Browse files

check input parameter for cat_options pages

solving #724
  • Loading branch information...
flop25 committed Jun 29, 2017
1 parent 03a8329 commit 3dd6812412289a199564e63fffd0a9754010b9e0
Showing with 2 additions and 0 deletions.
  1. +2 −0 admin/cat_options.php
@@ -44,6 +44,7 @@
and count($_POST['cat_true']) > 0)
{
check_pwg_token();
check_input_parameter('cat_true', $_POST, true, PATTERN_ID);
switch ($_GET['section'])
{
case 'comments' :
@@ -82,6 +83,7 @@
and isset($_POST['cat_false'])
and count($_POST['cat_false']) > 0)
{
check_input_parameter('cat_false', $_POST, true, PATTERN_ID);
switch ($_GET['section'])
{
case 'comments' :

0 comments on commit 3dd6812

Please sign in to comment.
You can’t perform that action at this time.