From ede9be35511fea93545c437eaa5d7391dcf9e239 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Sat, 22 Dec 2001 11:17:09 +0000 Subject: Fixed small problem with translation of imgs git-svn-id: file:///svn/phpbb/trunk@1671 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'phpBB/includes') 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 +?> -- cgit v1.2.1