Passed
Push — Security_and_bug_fixes ( 405745...467e4c )
by Stone
02:02
created
App/Controllers/Admin/Comments.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 use Core\Container;
10 10
 use Core\Traits\StringFunctions;
11 11
 
12
-class Comments extends AdminController{
12
+class Comments extends AdminController {
13 13
 
14 14
     use StringFunctions;
15 15
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         }
115 115
 
116 116
         //update comment
117
-        if($this->commentModel->update($commentId, $comment["commentTextArea"], $comment["commentApproved"]))
117
+        if ($this->commentModel->update($commentId, $comment["commentTextArea"], $comment["commentApproved"]))
118 118
         {
119 119
             $this->alertBox->setAlert("Comment updated");
120 120
         }
Please login to merge, or discard this patch.