mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
parent
d4d4ddda85
commit
ede9be3551
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue