Browse Source

Added missing brackets for catalog lock handling

pull/40/head
Benjamin Southall 5 years ago
parent
commit
1792bf48ee
  1. 2
      templates/themes/catalog/theme.php

2
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));

Loading…
Cancel
Save