Completed
Push — master ( 93e2ba...e59735 )
by Anthony
02:07
created
app/views/write-comment.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 		<?php if (!isset($_SESSION['idlogin'.CLEF_SITE])):?>
5 5
 			<input type="text" name="first_name" placeholder="First name">
6 6
 			<input type="text" name="last_name" placeholder="Last name">
7
-		<?php endif;?>
7
+		<?php endif; ?>
8 8
 		<textarea name="comment" id="" cols="30" rows="10"></textarea>
9 9
 		<button>Send</button>
10 10
 	</form>
@@ -13,4 +13,4 @@  discard block
 block discarded – undo
13 13
 	<div class="row">
14 14
 		<p>You must be connected to publish a comment</p>
15 15
 	</div>
16
-<?php endif;?>
17 16
\ No newline at end of file
17
+<?php endif; ?>
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,11 @@
 block discarded – undo
9 9
 		<button>Send</button>
10 10
 	</form>
11 11
 
12
-<?php else: ?>
12
+<?php else {
13
+	: ?>
13 14
 	<div class="row">
14 15
 		<p>You must be connected to publish a comment</p>
15 16
 	</div>
16
-<?php endif;?>
17 17
\ No newline at end of file
18
+<?php endif;
19
+}
20
+?>
18 21
\ No newline at end of file
Please login to merge, or discard this patch.
app/controller/Comment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
 		
32 32
 		//-------------------------- GETTER ----------------------------------------------------------------------------//
33 33
 		public function getRequiredConnection() {
34
-		    return $this->required_connection;
34
+			return $this->required_connection;
35 35
 		}
36 36
 		public function getCheckComment() {
37
-		    return $this->check_comment;
37
+			return $this->check_comment;
38 38
 		}
39 39
 		
40 40
 		/**
Please login to merge, or discard this patch.