From fdf6ff4fabe6612678af6840bd5e61b6c8269a34 Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Mon, 17 Jan 2022 12:40:42 +0100 Subject: [PATCH] Fix wishlist products not showing --- includes/classes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/classes/user.php b/includes/classes/user.php index d7b76c29..34d20e1f 100644 --- a/includes/classes/user.php +++ b/includes/classes/user.php @@ -66,7 +66,7 @@ class User $products = $database->query( 'SELECT * FROM products - WHERE wishlist = ' . $this->id . ';' + WHERE wishlist = ' . $wishlist . ';' )->fetchAll(); return $products;