Fix wishlist products not showing
This commit is contained in:
parent
b8cd1ea3cc
commit
fdf6ff4fab
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class User
|
|||
$products = $database->query(
|
||||
'SELECT *
|
||||
FROM products
|
||||
WHERE wishlist = ' . $this->id . ';'
|
||||
WHERE wishlist = ' . $wishlist . ';'
|
||||
)->fetchAll();
|
||||
|
||||
return $products;
|
||||
|
|
Loading…
Reference in a new issue