From 0ea1ad469da07e918b59e93489cf3ae66f26e635 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Wed, 6 Apr 2022 16:28:09 +0200 Subject: [PATCH] Refactor --- src/pages/wishlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { ?>