Passed
Push — Showing-Posts ( 5aec6a...cc8e3b )
by Stone
02:41
created
App/Controllers/Admin/Post.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
         
86 86
         $postId = $postModel->newPost($title, $postImage, $idCategory, $article, $idUser, $published, $onFrontpage, $postSlug);
87 87
 
88
-        echo "<p>new post ID : " . $postId . "</p>";
88
+        echo "<p>new post ID : ".$postId."</p>";
89 89
 
90
-        if(isset($posts["tags"])){
90
+        if (isset($posts["tags"])) {
91 91
             foreach ($posts["tags"] as $tag) {
92
-                if(isset($tag["id"])){
92
+                if (isset($tag["id"])) {
93 93
                     $tagModel->addTagToPost($postId, $tag["id"]);
94 94
                     continue;
95 95
                 }
Please login to merge, or discard this patch.