Fixes mikelbring/tinyissue#118.
Fixes mikelbring/tinyissue#118.

The error was fixed by checking that there is a user logged in before trying to get the user's language.

satrun77/tinyissue,satrun77/tinyissue,satrun77/tinyissue