related to #1757 fix php8 warning when going on album edit after creating it

This commit is contained in:
Matthieu Leproux
2022-10-19 12:35:23 +02:00
parent 1110d79e7e
commit e2245b1938
+1 -1
View File
@@ -2374,7 +2374,7 @@ function cat_admin_access($category_id)
// $filter['visible_categories'] and $filter['visible_images'] // $filter['visible_categories'] and $filter['visible_images']
// are not used because it's not necessary (filter <> restriction) // are not used because it's not necessary (filter <> restriction)
if (in_array($category_id, explode(',', $user['forbidden_categories']))) if (in_array($category_id, @explode(',', $user['forbidden_categories'])))
{ {
return false; return false;
} }