Fix undefined class User

This commit is contained in:
grandeljay 2022-11-23 18:22:51 +01:00
parent e71d8c410b
commit 4a37b49e94

View file

@ -6,6 +6,8 @@
* Returns the current season
*/
namespace wishthis;
function getWishlistNameSuggestion(): string
{
$user = isset($_SESSION['user']->id) ? $_SESSION['user'] : new User();