Fix 1039 Default to config file slug if translation is missing, otherwise use translation also in the tab title, not just in the page heading

This commit is contained in:
Flavio Copes
2017-05-01 19:03:27 +02:00
parent 8a95cfadd8
commit 7ff311b8a1
3 changed files with 7 additions and 6 deletions

View File

@@ -397,7 +397,6 @@ class Admin
$languages = (array)$languages;
}
if ($lookup) {
if (empty($languages) || reset($languages) == null) {
if ($grav['config']->get('system.languages.translations_fallback', true)) {