mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-05 13:02:48 +02:00
related to #1470 added id input check
This commit is contained in:
@@ -49,7 +49,8 @@ if (isset($_POST['simpleAutoOrder']) || isset($_POST['recursiveAutoOrder']) )
|
||||
{
|
||||
die('Invalid sort order');
|
||||
}
|
||||
|
||||
check_input_parameter('id', $_POST, false, '/^-?\d+$/');
|
||||
|
||||
$query = '
|
||||
SELECT id
|
||||
FROM '.CATEGORIES_TABLE.'
|
||||
|
||||
Reference in New Issue
Block a user