From 065f7f904fe51b9b40dd9e755ee82cbc7c75a865 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Wed, 23 Nov 2022 17:22:46 +0100 Subject: [PATCH] Fix undefined array key --- src/api/wishlists.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/wishlists.php b/src/api/wishlists.php index 195dff8b..9090a22f 100644 --- a/src/api/wishlists.php +++ b/src/api/wishlists.php @@ -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']);