Skip to content
Permalink
Browse files

fixes #1010 prevent from SQL injection with user input check

  • Loading branch information...
plegall committed Aug 12, 2019
1 parent fccb6ca commit 91349065eab9155bccecb9309892af31cf47749d
Showing with 3 additions and 1 deletion.
  1. +3 −1 admin/cat_move.php
@@ -31,7 +31,9 @@
{
if (count($_POST['selection']) > 0)
{
// TODO: tests
check_input_parameter('selection', $_POST, true, PATTERN_ID);
check_input_parameter('parent', $_POST, false, PATTERN_ID);
move_categories($_POST['selection'], $_POST['parent']);
}
else

0 comments on commit 9134906

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