bug fixed: array_intersect preserves keys and it is a problem

This commit is contained in:
plegall
2024-09-10 17:21:53 +02:00
parent 2905623027
commit 685cc00d6a
+1 -1
View File
@@ -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
{