From 4f45bc84f1d21f1c8a05847ce3ffad5eb66b4c59 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Wed, 23 Feb 2022 18:46:22 +0100 Subject: [PATCH] Remove refresh button for wishlist viewers --- src/classes/wishlist.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/classes/wishlist.php b/src/classes/wishlist.php index d56b8ddc..3aa1bdd5 100644 --- a/src/classes/wishlist.php +++ b/src/classes/wishlist.php @@ -77,6 +77,8 @@ class Wishlist /** * Cards */ + $userIsCurrent = isset($_SESSION['user']) && $this->data['user'] === $_SESSION['user']['id']; + if (!empty($products)) { ?>
providerName ?> - + + +
@@ -130,8 +134,6 @@ class Wishlist
- data['user'] === $_SESSION['user']['id']; ?> -