Fix undefined class User
This commit is contained in:
parent
e71d8c410b
commit
4a37b49e94
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
* Returns the current season
|
||||
*/
|
||||
|
||||
namespace wishthis;
|
||||
|
||||
function getWishlistNameSuggestion(): string
|
||||
{
|
||||
$user = isset($_SESSION['user']->id) ? $_SESSION['user'] : new User();
|
||||
|
|
Loading…
Reference in a new issue