Fix undefined array key

This commit is contained in:
grandeljay 2022-11-23 17:22:46 +01:00
parent a7f6f2a228
commit 065f7f904f

View file

@ -132,9 +132,6 @@ switch ($_SERVER['REQUEST_METHOD']) {
$user = isset($_GET['userid']) ? User::getFromID($_GET['userid']) : $_SESSION['user'];
$wishlists = array();
$options = array(
'style' => $_GET['style'],
);
foreach ($user->getWishlists() as $wishlist_result) {
$wishlist = new Wishlist($wishlist_result['id']);