From 8b63248aa4ea8e71c9f1f4ecd85773b60ece7b44 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 24 Sep 2026 12:23:01 +0200 Subject: [PATCH] fixes #2536 POST.associate is an array --- admin/batch_manager_global.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 8e7e9681a..a4786c9f9 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -185,10 +185,13 @@ DELETE else if ('no_virtual_album' == $page['prefilter']) { - $category_info = get_cat_info($_POST['associate']); - if (empty($category_info['dir'])) + foreach ($_POST['associate'] as $associate_cat_id) { - $redirect = true; + $category_info = get_cat_info($associate_cat_id); + if (empty($category_info['dir'])) + { + $redirect = true; + } } } }