Fix wishlist products not showing

This commit is contained in:
Jay Trees 2022-01-17 12:40:42 +01:00
parent b8cd1ea3cc
commit fdf6ff4fab

View file

@ -66,7 +66,7 @@ class User
$products = $database->query(
'SELECT *
FROM products
WHERE wishlist = ' . $this->id . ';'
WHERE wishlist = ' . $wishlist . ';'
)->fetchAll();
return $products;