diff options
author | Vitaly Takmazov | 2017-08-20 22:17:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-08-20 22:17:04 +0300 |
commit | e18151791d8aae71876c4755a02272f41d3a80a4 (patch) | |
tree | d9fcacab2c4f9d7bfcfb9243ca24949293dac65d /juick-www/src/main/java/com/juick/www | |
parent | 94494c8facde69892c1c22edb89bb401e8d5c0c6 (diff) |
www: fix help
Diffstat (limited to 'juick-www/src/main/java/com/juick/www')
-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); |