From 391f63e31f4b254bdc1d5c1a2e4c81d80acb767d Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Mon, 26 Aug 2019 05:38:22 +1000 Subject: Rebuild themes after stickying or locking post, so that catalog gets rebuilt --- templates/themes/catalog/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/themes') diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index f141847f..5ff6c934 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -26,7 +26,8 @@ $b->build($settings, $board); } } - } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') && in_array($board, $boards)) { + } 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)) { $b = new Catalog($settings); $action = generation_strategy("sb_catalog", array($board)); -- cgit v1.3