@@ -136,8 +136,7 @@ |
||
136 | 136 | if (sizeof(array_keys($filters)) > 1) |
137 | 137 | { |
138 | 138 | return array('filters' => $filters); |
139 | - } |
|
140 | - else |
|
139 | + } else |
|
141 | 140 | { |
142 | 141 | $key = key($filters); |
143 | 142 | return array( |
@@ -106,8 +106,7 @@ |
||
106 | 106 | 'route_name' => 'blitze_content_type_filter', |
107 | 107 | 'route_params' => array('type' => $this->content_types->get_forum_type($settings['forum_id'])), |
108 | 108 | ); |
109 | - } |
|
110 | - else |
|
109 | + } else |
|
111 | 110 | { |
112 | 111 | return array( |
113 | 112 | 'forum_ids' => array_keys($this->content_types->get_forum_types()), |
@@ -116,8 +116,7 @@ discard block |
||
116 | 116 | { |
117 | 117 | $this->update_views($topic_id, $update_count); |
118 | 118 | $template_file = $view_handler->get_detail_template(); |
119 | - } |
|
120 | - else |
|
119 | + } else |
|
121 | 120 | { |
122 | 121 | $template_file = 'views/print.html'; |
123 | 122 | $this->template->assign_var('TOPIC_URL', generate_board_url(true) . $topic_data['topic_url']); |
@@ -237,8 +236,7 @@ discard block |
||
237 | 236 | if ($filter_type) |
238 | 237 | { |
239 | 238 | $filters = array($filter_type => (array) $filter_value); |
240 | - } |
|
241 | - else |
|
239 | + } else |
|
242 | 240 | { |
243 | 241 | $filters = $this->request->variable('filters', array('' => array('' => ''))); |
244 | 242 | } |