From 557165ac2f49e94db6c6352d0363ca283d80673d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Fri, 8 Sep 2017 11:54:10 +0200 Subject: [PATCH] [ticket/15289] Use lang_defined() PHPBB3-15289 --- phpBB/adm/style/acp_storage.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpBB/adm/style/acp_storage.html b/phpBB/adm/style/acp_storage.html index 830ef1a663..64de18c648 100644 --- a/phpBB/adm/style/acp_storage.html +++ b/phpBB/adm/style/acp_storage.html @@ -37,7 +37,10 @@ {% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %}
- {% if description != lang(description) %}
{{ lang(description) }}{% endif %} + + {% if lang_defined(description) %} +
{{ lang(description) }} + {% endif %}
{% if input_type in ['text', 'password', 'email'] %}