diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2019-08-26 05:38:22 +1000 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2019-08-26 05:38:22 +1000 |
| commit | 391f63e31f4b254bdc1d5c1a2e4c81d80acb767d (patch) | |
| tree | 85b65cfea4a97238f7a94b56d832a31f82cb7121 /templates/themes/catalog | |
| parent | 0439a9c6c542bd75a857be69c9ba82f0a005a35d (diff) | |
Rebuild themes after stickying or locking post, so that catalog gets rebuilt
Diffstat (limited to 'templates/themes/catalog')
| -rw-r--r-- | templates/themes/catalog/theme.php | 3 |
1 files changed, 2 insertions, 1 deletions
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)); |
