aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-19 19:59:22 +0000
committerplegall <plg@piwigo.org>2012-02-19 19:59:22 +0000
commit25200e2c2550130453cdd16cdc76e8b9e50357e8 (patch)
treec1e5d1009f1f3be3e08f2fda8a4275cbac9e3aa4 /include/functions.inc.php
parentf718a18561915a6d547e96a7aef8f75283981853 (diff)
convert tabulations into 2-spaces for indentation (introduced in r13240)
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 5b05452c0..2e4052ce9 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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;
}