From 168bc751dfe89827613a6a7e3e2a34c1320b6655 Mon Sep 17 00:00:00 2001 From: flop25 Date: Sun, 13 Apr 2014 18:44:32 +0000 Subject: lang key with an empty value are not displayed git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.inc.php') 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)) { -- cgit v1.2.3