From 1792bf48eec755ee9a07aa5bef5fbf1e27d406c4 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Thu, 19 Sep 2019 05:50:48 +1000 Subject: [PATCH] Added missing brackets for catalog lock handling --- templates/themes/catalog/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));