From 6c9155683a01fc2fc9b8002f8636e1e521dd9a71 Mon Sep 17 00:00:00 2001 From: Nate Wright Date: Mon, 12 Feb 2018 17:41:12 +0000 Subject: [PATCH] Fix #4 Language selector dropdown appears when no other languages exist --- templates/frontend/components/languageSwitcher.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/frontend/components/languageSwitcher.tpl b/templates/frontend/components/languageSwitcher.tpl index 0670201..6bbc6c6 100644 --- a/templates/frontend/components/languageSwitcher.tpl +++ b/templates/frontend/components/languageSwitcher.tpl @@ -11,7 +11,7 @@ * @uses $languageToggleLocales array All supported locales * @uses $id string A unique ID for this language toggle *} -{if $languageToggleLocales} +{if $languageToggleLocales && $languageToggleLocales|@count > 1}