Passed
Push — Accessing-and-setting-the-site... ( 7a9423...504336 )
by Stone
02:35
created
App/Controllers/Admin/Home.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         } elseif ($this->auth->isUser()) {
16 16
             $this->data['userRole'] = 'User';
17 17
             $this->data['userLevel'] = $this->auth->getUserLevel();
18
-        }else {
18
+        } else {
19 19
             $this->alertBox->setAlert("You must be connected to acces the admin interface", 'warning');
20 20
             $this->container->getResponse()->redirect();
21 21
         }
Please login to merge, or discard this patch.
App/Controllers/Ajax/Update.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             if (!$configModel->updateConfig($update->dbId, $update->value)) {
31 31
                 $success = false;
32 32
                 $result['errorId'][] = $update->id;
33
-            }else{
33
+            } else{
34 34
                 $result['successId'][] = $update->id;
35 35
             }
36 36
         }
Please login to merge, or discard this patch.