diff --git a/src/pages/wishlist.php b/src/pages/wishlist.php index a5a1f736..9890b3c2 100644 --- a/src/pages/wishlist.php +++ b/src/pages/wishlist.php @@ -32,25 +32,25 @@ $page->navigation(); /** * Warn the wishlist creator */ - if (isset($user->id) && $user->id === intval($wishlist->data['user'])) { ?> -
- -
-
- Careful -
-
-

- You are viewing your own wishlist! - You will be able to see which products have already been bought for you. - Don't you want to be surprised? -

-

- It's probably best to just close this tab. -

+ if (isset($user->id) && $user->id === intval($wishlist->data['user']) && !empty($wishlist->products)) { ?> +
+ +
+
+ Careful +
+
+

+ You are viewing your own wishlist! + You will be able to see which products have already been bought for you. + Don't you want to be surprised? +

+

+ It's probably best to just close this tab. +

+
-