mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug fixed: array_intersect preserves keys and it is a problem
This commit is contained in:
@@ -628,7 +628,7 @@ SELECT
|
||||
{
|
||||
if (count($image_ids_for_filter) > 1)
|
||||
{
|
||||
$items = array_unique(array_intersect(...array_values($image_ids_for_filter)));
|
||||
$items = array_values(array_unique(array_intersect(...array_values($image_ids_for_filter))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user