diff --git a/src/pages/wishlists-saved.php b/src/pages/wishlists-saved.php index 0c172195..309609bf 100644 --- a/src/pages/wishlists-saved.php +++ b/src/pages/wishlists-saved.php @@ -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; } ?>