diff options
| author | czaks <marcin@6irc.net> | 2014-10-09 03:57:18 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-09 03:57:18 +0200 |
| commit | dfd05e88f9905bbd644e1847fa8ec383a9fc8857 (patch) | |
| tree | c3234ee0ddfc45edb1ad120dba1c9e0a93db965a /inc | |
| parent | 74a40b72ed20c7b176e86f857636fafaafe42947 (diff) | |
possible fix of themes` interactions
Diffstat (limited to 'inc')
| -rwxr-xr-x[-rw-r--r--] | inc/functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 0454a129..8f33fdb6 100644..100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -345,10 +345,14 @@ function rebuildThemes($action, $boardname = false) { $query = query("SELECT `theme` FROM ``theme_settings`` WHERE `name` IS NULL AND `value` IS NULL") or error(db_error()); while ($theme = $query->fetch(PDO::FETCH_ASSOC)) { + // Restore them + $config = $_config; + $board = $_board; + rebuildTheme($theme['theme'], $action, $boardname); } - // Restore them + // Restore them again $config = $_config; $board = $_board; } |
