Skip to content

Commit 168bc75

Browse files
committed
lang key with an empty value are not displayed
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
1 parent 31d5b5f commit 168bc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/functions.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ function l10n($key)
978978
{
979979
global $lang, $conf;
980980

981-
if ( ($val=@$lang[$key]) == null)
981+
if ( ($val=@$lang[$key]) === null)
982982
{
983983
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
984984
{

0 commit comments

Comments
 (0)