diff options
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/Help.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Help.java b/juick-www/src/main/java/com/juick/www/controllers/Help.java index 335f4b7a..c5f0aeea 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Help.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Help.java @@ -73,6 +73,10 @@ public class Help { page = langOrPage; } + if (lang == null) { + lang = locale.getLanguage(); + } + String content = helpService.getHelp(page, lang); if (content == null && !Objects.equals("index", page)) content = helpService.getHelp("index", lang); |