fix: attempting to show deleted wishlists

This commit is contained in:
grandeljay 2023-09-05 15:51:10 +02:00
parent 2fbbfe4e3f
commit b12548656e

View file

@ -19,6 +19,10 @@ $wishlists = $user->getSavedWishlists();
$wishlists_by_user = array();
foreach ($wishlists as $wishlist_saved) {
if (!isset($wishlist_saved['user'])) {
continue;
}
$wishlists_by_user[$wishlist_saved['user']][] = $wishlist_saved;
}
?>