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(
|
$products = $database->query(
|
||||||
'SELECT *
|
'SELECT *
|
||||||
FROM products
|
FROM products
|
||||||
WHERE wishlist = ' . $this->id . ';'
|
WHERE wishlist = ' . $wishlist . ';'
|
||||||
)->fetchAll();
|
)->fetchAll();
|
||||||
|
|
||||||
return $products;
|
return $products;
|
||||||
|
|
Loading…
Reference in a new issue