diff options
| author | Dan Saunders <dsaunders@dansaunders.me> | 2013-08-25 23:26:41 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-26 13:36:14 +1000 |
| commit | bb06593ef5f21b4bc4432530e5ca634f09764773 (patch) | |
| tree | 543c91dd807be789b4c1a566ec16a699e8c298d2 /templates/themes/catalog/theme.php | |
| parent | 09388f6588843d8042fc2542d049deb47c57ce07 (diff) | |
Added post-delete handling on themes that should use it.
Diffstat (limited to 'templates/themes/catalog/theme.php')
| -rw-r--r-- | templates/themes/catalog/theme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index 96550683..424a813b 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' || ($settings['update_on_posts'] && $action == 'post') && in_array($board, $boards)) { + } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') && in_array($board, $boards)) { $b = new Catalog(); $b->build($settings, $board); } |
