From 09dc44ec406cdfc12d4d9a0be7f37caa1e5a7ba8 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 11 Mar 2024 10:31:19 +0100 Subject: [PATCH] functions.php: trim --- inc/functions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 5890da8a..ad69e55a 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -428,10 +428,10 @@ function rebuildThemes($action, $boardname = false) { $board = $_board; // Reload the locale - if ($config['locale'] != $current_locale) { - $current_locale = $config['locale']; - init_locale($config['locale']); - } + if ($config['locale'] != $current_locale) { + $current_locale = $config['locale']; + init_locale($config['locale']); + } if (PHP_SAPI === 'cli') { echo "Rebuilding theme ".$theme['theme']."... "; @@ -450,8 +450,8 @@ function rebuildThemes($action, $boardname = false) { // Reload the locale if ($config['locale'] != $current_locale) { - $current_locale = $config['locale']; - init_locale($config['locale']); + $current_locale = $config['locale']; + init_locale($config['locale']); } }