aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 3e88bf61a..57d98276a 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -155,6 +155,7 @@ if (isset($_POST['submit']))
{
$_POST['associate'] = array();
}
+ check_input_parameter('associate', $_POST, true, PATTERN_ID);
move_images_to_categories(array($_GET['image_id']), $_POST['associate']);
invalidate_user_cache();
@@ -164,6 +165,7 @@ if (isset($_POST['submit']))
{
$_POST['represent'] = array();
}
+ check_input_parameter('represent', $_POST, true, PATTERN_ID);
$no_longer_thumbnail_for = array_diff($represented_albums, $_POST['represent']);
if (count($no_longer_thumbnail_for) > 0)