summaryrefslogtreecommitdiff
path: root/templates/themes/catalog/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/catalog/theme.php')
-rw-r--r--templates/themes/catalog/theme.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 81148882..bc312fc0 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -27,7 +27,7 @@
}
}
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete')
- || $action == 'sticky' || ($action == 'lock' && in_array($board, $boards))) {
+ || $action == 'sticky' || ($action == 'lock' && in_array($board, $boards))) {
$b = new Catalog($settings);
$action = generation_strategy("sb_catalog", array($board));
@@ -37,7 +37,8 @@
}
elseif ($action == 'rebuild') {
$b->build($settings, $board);
- }
+ }
+ $b->build($settings, $board);
}
// FIXME: Check that Ukko is actually enabled