Completed
Push — master ( 6c9628...dd7655 )
by Markus
06:44
created
view/forum/index.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 $items = isset($items) ? $items : null;
12 12
 $session = $this->di->get("session");
13 13
 $filter = $this->di->get("textfilter");
14
-$tags = [];
14
+$tags = [ ];
15 15
 // var_dump($session);
16 16
 ?>
17 17
 <h1>Welcome to the forum</h1>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,12 @@
 block discarded – undo
19 19
     <p>
20 20
         <a href="forum/create">Create a new post</a>
21 21
     </p>
22
-<?php else : ?>
22
+<?php else {
23
+    : ?>
23 24
     <p>You have to be logged in to create a new post</p>
24
-<?php endif; ?>
25
+<?php endif;
26
+}
27
+?>
25 28
 <?php if (!$items) : ?>
26 29
     <p>There are no posts to show!</p>
27 30
 <?php endif; ?>
Please login to merge, or discard this patch.