summaryrefslogtreecommitdiff
path: root/templates/themes/catalog
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2019-09-19 05:50:48 +1000
committerBenjamin Southall <applemansigloo@gmail.com>2019-09-19 05:50:48 +1000
commit1792bf48eec755ee9a07aa5bef5fbf1e27d406c4 (patch)
treec128043ba0405ac9dabbf3fcd6b2b62868ba4822 /templates/themes/catalog
parenta666b044a9cda2816a6251b6367eb38f9876b17e (diff)
Added missing brackets for catalog lock handling
Diffstat (limited to 'templates/themes/catalog')
-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 5ff6c934..81148882 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));