summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-10 13:13:18 +0100
committerczaks <marcin@6irc.net>2015-03-10 13:16:16 +0100
commitd690567b44464962b0f99c9c222ce4530b9b716e (patch)
tree856be19621ebfb13370f8e05d0f73ba9720a6ae2 /inc
parent0062125f5c724183915ec48a9448684cc1b943db (diff)
... (minor fix for locales)
Diffstat (limited to 'inc')
-rwxr-xr-xinc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 2a398ae7..846dbdaa 100755
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -358,7 +358,7 @@ function rebuildThemes($action, $boardname = false) {
// Reload the locale
if ($config['locale'] != $current_locale) {
$current_locale = $config['locale'];
- init_locale($config['locale'], $error);
+ init_locale($config['locale']);
}
if (PHP_SAPI === 'cli') {
@@ -379,7 +379,7 @@ function rebuildThemes($action, $boardname = false) {
// Reload the locale
if ($config['locale'] != $current_locale) {
$current_locale = $config['locale'];
- init_locale($config['locale'], $error);
+ init_locale($config['locale']);
}
}