aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-04-13 18:44:32 +0000
committerflop25 <flop25@piwigo.org>2014-04-13 18:44:32 +0000
commit168bc751dfe89827613a6a7e3e2a34c1320b6655 (patch)
treed5153906bfb6f36922d39e2a9d6dd1959a8a5d55
parent31d5b5fa91d03512f709d42ab89e1f9246492f94 (diff)
lang key with an empty value are not displayed
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index d81d62727..195f7f00d 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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))
{