From e18151791d8aae71876c4755a02272f41d3a80a4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 20 Aug 2017 22:17:04 +0300 Subject: www: fix help --- juick-www/src/main/java/com/juick/www/controllers/Help.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'juick-www/src') 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); -- cgit v1.2.3