diff --git a/src/pages/wishlist.php b/src/pages/wishlist.php index 72a3b39b..af7895ae 100644 --- a/src/pages/wishlist.php +++ b/src/pages/wishlist.php @@ -33,7 +33,7 @@ $page->navigation(); /** * Warn the wishlist creator */ - if (isset($user->id) && $user->id === intval($wishlist->user) && !empty($wishlist->wishes)) { ?> + if ($user->isLoggedIn() && $user->id === intval($wishlist->user) && !empty($wishlist->wishes)) { ?>