Completed
Push — master ( 1dfa31...f1ef89 )
by Tobias
04:10 queued 01:45
created
event/listener.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -225,8 +225,7 @@  discard block
 block discarded – undo
225 225
 		if (!empty($this->topic_title))
226 226
 		{
227 227
 			$event['generate_page_link_override'] = append_sid($this->generate_topic_link($this->forum_id, $this->forum_title, $this->topic_id, $this->topic_title, $start));
228
-		}
229
-		else if (!empty($this->forum_title))
228
+		} else if (!empty($this->forum_title))
230 229
 		{
231 230
 			$event['generate_page_link_override'] = append_sid($this->generate_forum_link($this->forum_id, $this->forum_title, $start));
232 231
 		}
@@ -378,8 +377,7 @@  discard block
 block discarded – undo
378 377
 			if (isset($row['topic_id']))
379 378
 			{
380 379
 				$url_data[$id]['url'] = $this->generate_topic_link($row['forum_id'], $row['forum_name'], $row['topic_id'], $row['topic_title'],  $data['start'], true);
381
-			}
382
-			else if (isset($row['forum_id']))
380
+			} else if (isset($row['forum_id']))
383 381
 			{
384 382
 				$url_data[$id]['url'] = $this->generate_forum_link($row['forum_id'], $row['forum_name'], $data['start'], true);
385 383
 			}
@@ -498,8 +496,7 @@  discard block
 block discarded – undo
498 496
 			{
499 497
 				$last_post_link = $url . '-s' . $j . '.html';
500 498
 			}
501
-		}
502
-		else
499
+		} else
503 500
 		{
504 501
 			$last_post_link = $url . '.html';
505 502
 		}
Please login to merge, or discard this patch.