mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
convert tabulations into 2-spaces for indentation (introduced in r13240)
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -890,14 +890,14 @@ function l10n($key)
|
||||
{
|
||||
global $lang, $conf;
|
||||
|
||||
if ( ($val=@$lang[$key]) == null)
|
||||
{
|
||||
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
|
||||
{
|
||||
trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING);
|
||||
}
|
||||
$val = $key;
|
||||
}
|
||||
if ( ($val=@$lang[$key]) == null)
|
||||
{
|
||||
if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
|
||||
{
|
||||
trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING);
|
||||
}
|
||||
$val = $key;
|
||||
}
|
||||
return $val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user