aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-12-22 11:17:09 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-12-22 11:17:09 +0000
commitede9be35511fea93545c437eaa5d7391dcf9e239 (patch)
tree6b05cf5cd5cb151263f31469c017d11d681a2b7e /phpBB/includes
parentd4d4ddda85edbd3fd35ba841cd28983f49324dca (diff)
downloadforums-ede9be35511fea93545c437eaa5d7391dcf9e239.tar
forums-ede9be35511fea93545c437eaa5d7391dcf9e239.tar.gz
forums-ede9be35511fea93545c437eaa5d7391dcf9e239.tar.bz2
forums-ede9be35511fea93545c437eaa5d7391dcf9e239.tar.xz
forums-ede9be35511fea93545c437eaa5d7391dcf9e239.zip
Fixed small problem with translation of imgs
git-svn-id: file:///svn/phpbb/trunk@1671 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 95b5027534..afbb409a03 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -303,7 +303,8 @@ function init_userprefs($userdata)
{
$new_value = str_replace("_lang", "_" . $board_config['default_lang'], $value);
- $images[$key] = ( !file_exists($new_value) ) ? $new_value : str_replace("_lang", "_english", $value);
+ $images[$key] = ( file_exists($new_value) ) ? $new_value : str_replace("_lang", "_english", $value);
+ print $new_value;
}
}
@@ -1201,4 +1202,4 @@ function phpbb_preg_quote($str, $delimiter)
return $text;
}
-?> \ No newline at end of file
+?>