mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixes #2536 POST.associate is an array
This commit is contained in:
1 parent
61f26086e8
commit
8b63248aa4
1 file changed
+6
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user