aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+?>