fix: attempting to show deleted wishlists
This commit is contained in:
parent
2fbbfe4e3f
commit
b12548656e
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue