summaryrefslogtreecommitdiff
path: root/templates/themes/catalog/theme.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-18 16:26:54 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-18 16:26:54 +0000
commit80ade5da1fbe903763699ac705387b4952d5eb53 (patch)
treea96281da2221a3598d9c28b7ca46cefa3d795f48 /templates/themes/catalog/theme.php
parent946c49ac5aa00a14cf6e8333e0802a719205ccfa (diff)
Add option to update catalog on new posts as well as new threads
Diffstat (limited to 'templates/themes/catalog/theme.php')
-rw-r--r--templates/themes/catalog/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 4e2d40db..96550683 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -20,7 +20,7 @@
$b = new Catalog();
$b->build($settings, $board);
}
- } elseif ($action == 'post-thread' && in_array($board, $boards)) {
+ } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') && in_array($board, $boards)) {
$b = new Catalog();
$b->build($settings, $board);
}