Passed
Push — Showing-Posts ( d80634...b1a8d3 )
by Stone
03:49 queued 01:15
created
Core/Constant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
     const FRONT_PAGE_POSTS = 3;
23 23
     const POSTS_PER_PAGE = 10;
24 24
 
25
-    const EXCERPT_WORD_COUNT =50;
25
+    const EXCERPT_WORD_COUNT = 50;
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
App/Controllers/Admin/Post.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -124,10 +124,10 @@  discard block
 block discarded – undo
124 124
 
125 125
         //checking result and redirecting
126 126
         if ($postId != null) {
127
-            $this->alertBox->setAlert("Post " . $title . " Created");
128
-            $this->container->getResponse()->redirect("admin/post/modify/" . $postSlug);
127
+            $this->alertBox->setAlert("Post ".$title." Created");
128
+            $this->container->getResponse()->redirect("admin/post/modify/".$postSlug);
129 129
         }
130
-        $this->alertBox->setAlert("Error creating " . $title, "error");
130
+        $this->alertBox->setAlert("Error creating ".$title, "error");
131 131
         $this->container->getResponse()->redirect("admin/post/new");
132 132
 
133 133
     }
@@ -206,10 +206,10 @@  discard block
 block discarded – undo
206 206
 
207 207
         //checking result and redirecting
208 208
         if ($postUpdate) {
209
-            $this->alertBox->setAlert("Post " . $title . " Updated");
210
-            $this->container->getResponse()->redirect("admin/post/modify/" . $postSlug);
209
+            $this->alertBox->setAlert("Post ".$title." Updated");
210
+            $this->container->getResponse()->redirect("admin/post/modify/".$postSlug);
211 211
         }
212
-        $this->alertBox->setAlert("Error updating " . $title, "error");
213
-        $this->container->getResponse()->redirect("admin/post/modify/" . $originalPostSlug);
212
+        $this->alertBox->setAlert("Error updating ".$title, "error");
213
+        $this->container->getResponse()->redirect("admin/post/modify/".$originalPostSlug);
214 214
     }
215 215
 }
216 216
\ No newline at end of file
Please login to merge, or discard this patch.