From 924aabf652f35a35ccfe66a6fa706bb434282081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 13 Feb 2017 11:22:43 +0100 Subject: Do not show language selector without choices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the check from template to the code, so that the selection is completely hidden when there is nothing to select. Fixes #12988 Signed-off-by: Michal Čihař --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0ced453dd7..f33a0b44c9 100644 --- a/index.php +++ b/index.php @@ -236,11 +236,12 @@ echo '

' , __('Appearance settings') , '

'; echo '