Fix getSavedWishlists for logged out users

This commit is contained in:
Jay Trees 2022-04-12 10:43:00 +02:00
parent 2a2743139d
commit b2f43e7d6e

View file

@ -89,6 +89,10 @@ class User
$wishlists = array();
if (!$this->isLoggedIn()) {
return $wishlists;
}
$result = $database
->query('SELECT `ws`.`wishlist`,
`w`.`user`,