aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_global.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-05-03 15:16:34 +0200
committerplegall <plg@piwigo.org>2016-05-03 15:16:34 +0200
commit105ccb8d0f251a19a8ef87f2729dc597c9a61d1c (patch)
tree9db7d001037b329142e80971297a66f4de9303e6 /admin/batch_manager_global.php
parent3f96dc19f0a243e9599a41c6f763cab8be4d88e8 (diff)
parentc5af8c4922f8cd7d833da7900592ffaae3b8e0da (diff)
Merge branch '2.8'
Diffstat (limited to 'admin/batch_manager_global.php')
-rw-r--r--admin/batch_manager_global.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php
index ba3944abe..1d5cb747d 100644
--- a/admin/batch_manager_global.php
+++ b/admin/batch_manager_global.php
@@ -44,7 +44,6 @@ trigger_notify('loc_begin_element_set_global');
check_input_parameter('del_tags', $_POST, true, PATTERN_ID);
check_input_parameter('associate', $_POST, false, PATTERN_ID);
-check_input_parameter('move', $_POST, false, PATTERN_ID);
check_input_parameter('dissociate', $_POST, false, PATTERN_ID);
// +-----------------------------------------------------------------------+
@@ -173,7 +172,7 @@ DELETE
else if ('move' == $action)
{
- move_images_to_categories($collection, array($_POST['move']));
+ move_images_to_categories($collection, array($_POST['associate']));
$_SESSION['page_infos'] = array(
l10n('Information data registered in database')
@@ -187,7 +186,7 @@ DELETE
else if ('no_virtual_album' == $page['prefilter'])
{
- $category_info = get_cat_info($_POST['move']);
+ $category_info = get_cat_info($_POST['associate']);
if (empty($category_info['dir']))
{
$redirect = true;