Skip to content
Permalink
Browse files Browse the repository at this point in the history
check input parameter for cat_options pages
solving #724
  • Loading branch information
flop25 committed Jun 29, 2017
1 parent 03a8329 commit 3dd6812
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/cat_options.php
Expand Up @@ -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' :
Expand Down Expand Up @@ -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' :
Expand Down

0 comments on commit 3dd6812

Please sign in to comment.