mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
I have no idea why the $user variable can ever be null in the first place, but for me it happens if I remove all main menu items (including the settings). The same check is already in place at the navigation manager: https://github.com/octobercms/october/blob/master/modules/backend/classes/NavigationManager.php#L509-L511 The change shouldn't brake anything.