diff --git a/admin/cat_move.php b/admin/cat_move.php index 18f94971c..1464499fe 100644 --- a/admin/cat_move.php +++ b/admin/cat_move.php @@ -31,7 +31,9 @@ if (isset($_POST['submit'])) { 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