Added missing brackets for catalog lock handling

This commit is contained in:
Benjamin Southall 2019-09-19 05:50:48 +10:00
parent a666b044a9
commit 1792bf48ee
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
} }
} }
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') } 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); $b = new Catalog($settings);
$action = generation_strategy("sb_catalog", array($board)); $action = generation_strategy("sb_catalog", array($board));