From 3a5a57bf64dd2811da912ff4db16fbc2db7284db Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Tue, 6 Jul 2021 19:36:48 +1000 Subject: Update catalog to rebuild on most rebuild causing events, as well as have subject being link to post --- templates/themes/catalog/theme.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/themes/catalog/theme.php') 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 -- cgit v1.3