@@ -97,8 +97,7 @@ |
||
97 | 97 | { |
98 | 98 | $last_post_link = $url . '-s' . $j . '.html'; |
99 | 99 | } |
100 | - } |
|
101 | - else |
|
100 | + } else |
|
102 | 101 | { |
103 | 102 | $last_post_link = $url . '.html'; |
104 | 103 | } |
@@ -71,8 +71,7 @@ |
||
71 | 71 | if (isset($row['topic_id'])) |
72 | 72 | { |
73 | 73 | $url_data[$id]['url'] = $this->base->generate_topic_link($row['forum_id'], $row['forum_name'], $row['topic_id'], $row['topic_title'], $data['start'], true); |
74 | - } |
|
75 | - else if (isset($row['forum_id'])) |
|
74 | + } else if (isset($row['forum_id'])) |
|
76 | 75 | { |
77 | 76 | $url_data[$id]['url'] = $this->base->generate_forum_link($row['forum_id'], $row['forum_name'], $data['start'], true); |
78 | 77 | } |
@@ -256,8 +256,7 @@ |
||
256 | 256 | if (!empty($this->topic_data) && isset($param['f']) && isset($param['t'])) |
257 | 257 | { |
258 | 258 | $event['generate_page_link_override'] = append_sid($this->base->generate_topic_link($this->topic_data['forum_id'], $this->topic_data['forum_name'], $this->topic_data['topic_id'], $this->topic_data['topic_title'], $start)); |
259 | - } |
|
260 | - else if (!empty($this->forum_data) && isset($param['f'])) |
|
259 | + } else if (!empty($this->forum_data) && isset($param['f'])) |
|
261 | 260 | { |
262 | 261 | $event['generate_page_link_override'] = append_sid($this->base->generate_forum_link($this->forum_data['forum_id'], $this->forum_data['forum_name'], $start)); |
263 | 262 | } |