@@ -122,8 +122,7 @@ discard block |
||
| 122 | 122 | { |
| 123 | 123 | $this->update_views($topic_id, $update_count); |
| 124 | 124 | $template_file = $view_handler->get_detail_template(); |
| 125 | - } |
|
| 126 | - else |
|
| 125 | + } else |
|
| 127 | 126 | { |
| 128 | 127 | $template_file = 'views/print.html'; |
| 129 | 128 | $this->template->assign_var('TOPIC_URL', generate_board_url(true) . $topic_data['topic_url']); |
@@ -244,8 +243,7 @@ discard block |
||
| 244 | 243 | if ($filter_type) |
| 245 | 244 | { |
| 246 | 245 | $filters = array($filter_type => (array) $filter_value); |
| 247 | - } |
|
| 248 | - else |
|
| 246 | + } else |
|
| 249 | 247 | { |
| 250 | 248 | $filters = $this->request->variable('filters', array('' => array('' => '')), true); |
| 251 | 249 | } |