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:
flop25
2014-04-13 18:44:32 +00:00
parent 31d5b5fa91
commit 168bc751df
+1 -1
View File
@@ -978,7 +978,7 @@ function l10n($key)
{
global $lang, $conf;
if ( ($val=@$lang[$key]) == null)
if ( ($val=@$lang[$key]) === null)
{
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
{