fixes #2536 POST.associate is an array

This commit is contained in:
plegall committed 2026-09-24 12:23:01 +02:00
1 parent 61f26086e8
commit 8b63248aa4
1 file changed
+6 -3
+6 -3
View File
@@ -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;
}
}
}
}