Passed
Push — Showing-Posts ( 35fb9c...71ba54 )
by Stone
01:47
created
App/Controllers/Login.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $this->session->set('user_role_name', 'Admin');
26 26
         $this->session->set('user_role_level', 2);
27
-        $this->session->set('user_id',1);
27
+        $this->session->set('user_id', 1);
28 28
         $this->alertBox->setAlert('Connected as admin');
29 29
         $this->container->getResponse()->redirect('/admin/');
30 30
     }
Please login to merge, or discard this patch.
App/Controllers/Admin/Post.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $postId = $postModel->newPost($title, $postImage, $idCategory, $article, $idUser, $published, $onFrontpage,
79 79
             $postSlug);
80 80
 
81
-        echo "<p>new post ID : " . $postId . "</p>";
81
+        echo "<p>new post ID : ".$postId."</p>";
82 82
 
83 83
         echo "<pre>";
84 84
         var_dump($posts);
Please login to merge, or discard this patch.