Passed
Push — Showing-Posts ( 7278ae...35fb9c )
by Stone
01:54
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
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         $postModel = new PostModel($this->container);
71 71
 
72
-        $postId = $postModel->newPost($title,$postImage,$idCategory,$article,$idUser,$published,$onFrontpage,$postSlug);
72
+        $postId = $postModel->newPost($title, $postImage, $idCategory, $article, $idUser, $published, $onFrontpage, $postSlug);
73 73
 
74 74
         echo"<p>new post ID : ".$postId."</p>";
75 75
 
Please login to merge, or discard this patch.