Passed
Push — master ( 4edea6...e7683e )
by William
03:13
created
dashboard/application/core/MY_Controller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         if (isset($_COOKIE['CI-CONCRETE5']) === FALSE) {
68 68
 
69 69
             $this->session->set_userdata('last_url', current_url());
70
-            redirect('http://'.$_SERVER['HTTP_HOST'].'/authentication/dashboard?url=' . current_url());
70
+            redirect('http://'.$_SERVER['HTTP_HOST'].'/authentication/dashboard?url='.current_url());
71 71
         } else {
72 72
 
73 73
             $cookie = $_COOKIE['CI-CONCRETE5'];
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 //expire fake cookie
80 80
                 setcookie('CI-CONCRETE5', 'expired', time() - (1), "/");
81 81
                 $this->session->set_userdata('last_url', current_url());
82
-                redirect('http://'.$_SERVER['HTTP_HOST'].'/authentication/dashboard?url=' . current_url());
82
+                redirect('http://'.$_SERVER['HTTP_HOST'].'/authentication/dashboard?url='.current_url());
83 83
             } else {
84 84
 
85 85
                 $user_ldap = $this->user_model->user_ldap($username);
Please login to merge, or discard this patch.