aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}