Fix getSavedWishlists for logged out users
This commit is contained in:
parent
2a2743139d
commit
b2f43e7d6e
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ class User
|
|||
|
||||
$wishlists = array();
|
||||
|
||||
if (!$this->isLoggedIn()) {
|
||||
return $wishlists;
|
||||
}
|
||||
|
||||
$result = $database
|
||||
->query('SELECT `ws`.`wishlist`,
|
||||
`w`.`user`,
|
||||
|
|
Loading…
Reference in a new issue