summaryrefslogtreecommitdiff
path: root/templates/themes/catalog/theme.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2021-07-06 19:36:48 +1000
committerAppleman1234 <applemansigloo@gmail.com>2021-07-06 19:36:48 +1000
commit3a5a57bf64dd2811da912ff4db16fbc2db7284db (patch)
treed758f1205e9fb02e9d5d111e91b5f971cf156180 /templates/themes/catalog/theme.php
parentc33b88da92b6534ddda8b6680f13306321cc6a05 (diff)
Update catalog to rebuild on most rebuild causing events, as well as have subject being link to post
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