mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
lang key with an empty value are not displayed
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -978,7 +978,7 @@ function l10n($key)
|
|||||||
{
|
{
|
||||||
global $lang, $conf;
|
global $lang, $conf;
|
||||||
|
|
||||||
if ( ($val=@$lang[$key]) == null)
|
if ( ($val=@$lang[$key]) === null)
|
||||||
{
|
{
|
||||||
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
|
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user