@@ -72,8 +72,7 @@ discard block |
||
72 | 72 | 'title' => '', |
73 | 73 | 'content' => '', |
74 | 74 | ); |
75 | - } |
|
76 | - else |
|
75 | + } else |
|
77 | 76 | { |
78 | 77 | $this->fetch_new($bdata['settings']); |
79 | 78 | |
@@ -117,8 +116,7 @@ discard block |
||
117 | 116 | { |
118 | 117 | $sorting = 't.topic_last_post_time'; |
119 | 118 | $sql_array = $this->get_topics_sql(); |
120 | - } |
|
121 | - else |
|
119 | + } else |
|
122 | 120 | { |
123 | 121 | $sorting = 'p.post_time'; |
124 | 122 | $sql_array = $this->get_posts_sql(); |
@@ -303,8 +303,7 @@ |
||
303 | 303 | $cur_voted_id[] = $row['poll_option_id']; |
304 | 304 | } |
305 | 305 | $this->db->sql_freeresult($result); |
306 | - } |
|
307 | - else |
|
306 | + } else |
|
308 | 307 | { |
309 | 308 | // Cookie based guest tracking ... I don't like this but hum ho |
310 | 309 | // it's oft requested. This relies on "nice" users who don't feel |
@@ -281,8 +281,7 @@ discard block |
||
281 | 281 | if ($this->settings['context'] && $this->settings['preview_chars']) |
282 | 282 | { |
283 | 283 | $post_data = $this->forum_data->get_post_data($this->settings['context']); |
284 | - } |
|
285 | - else |
|
284 | + } else |
|
286 | 285 | { |
287 | 286 | $post_data = array_fill_keys(array_keys($topic_data), array(array('post_text' => '', 'bbcode_uid' => '', 'bbcode_bitfield' => ''))); |
288 | 287 | } |
@@ -303,8 +302,7 @@ discard block |
||
303 | 302 | $this->fields['user_colour'] = 'topic_last_poster_colour'; |
304 | 303 | |
305 | 304 | $this->ptemplate->assign_var('L_POST_BY_AUTHOR', $this->user->lang('LAST_POST_BY_AUTHOR')); |
306 | - } |
|
307 | - else |
|
305 | + } else |
|
308 | 306 | { |
309 | 307 | $this->fields['time'] = 'topic_time'; |
310 | 308 | $this->fields['user_id'] = 'topic_poster'; |
@@ -146,8 +146,7 @@ |
||
146 | 146 | if (is_callable(array($this, $method))) |
147 | 147 | { |
148 | 148 | call_user_func_array(array($this, $method), array(&$sql_array, $change_user)); |
149 | - } |
|
150 | - else |
|
149 | + } else |
|
151 | 150 | { |
152 | 151 | return array(); |
153 | 152 | } |