Passed
Push — Comments ( 971c2e...b89711 )
by Stone
02:58
created
App/Controllers/Post.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,9 +96,11 @@
 block discarded – undo
96 96
         $baseUrl = $this->request->getBaseUrl();
97 97
         $redirectUrl = $this->removeFromBeginning($refererUrl, $baseUrl);
98 98
 
99
-        if (!$admin) //if we are not an admin, send an email to alert and add an alertBox
99
+        if (!$admin) {
100
+            //if we are not an admin, send an email to alert and add an alertBox
100 101
         {
101 102
             $siteConfig = $this->siteConfig->getSiteConfig();
103
+        }
102 104
             $post = $this->postModel->getSinglePost($postId);
103 105
 
104 106
             $emailMessage = "<h1>New comment on post " . $post->title . "</a></h1>";
Please login to merge, or discard this patch.