Fixed small problem with translation of imgs

git-svn-id: file:///svn/phpbb/trunk@1671 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-12-22 11:17:09 +00:00
parent d4d4ddda85
commit ede9be3551

View file

@ -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;
}
?>
?>