diff options
| author | czaks <marcin@6irc.net> | 2015-03-10 13:13:18 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-10 13:16:16 +0100 |
| commit | d690567b44464962b0f99c9c222ce4530b9b716e (patch) | |
| tree | 856be19621ebfb13370f8e05d0f73ba9720a6ae2 /inc/functions.php | |
| parent | 0062125f5c724183915ec48a9448684cc1b943db (diff) | |
... (minor fix for locales)
Diffstat (limited to 'inc/functions.php')
| -rwxr-xr-x | inc/functions.php | 4 |
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']); } } |
