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( $products = $database->query(
'SELECT * 'SELECT *
FROM products FROM products
WHERE wishlist = ' . $this->id . ';' WHERE wishlist = ' . $wishlist . ';'
)->fetchAll(); )->fetchAll();
return $products; return $products;