Passed
Pull Request — master (#1239)
by
unknown
05:35
created
src/CBCoreModule/publieshed_files/AdminUsersController.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
             "options" => ["table" => "cms_roles", "field_value" => "id", "field_label" => 'name'],
74 74
             'required' => true,
75 75
         ];					
76
-		$this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change");
77
-		$this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change");
76
+        $this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change");
77
+        $this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change");
78 78
 		
79 79
         # END FORM DO NOT REMOVE THIS LINE
80 80
     }
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
         # END CONFIGURATION DO NOT REMOVE THIS LINE
103 103
     }
104 104
     public function hook_before_edit(&$postdata,$id) { 
105
-		unset($postdata['password_confirmation']);
106
-	}
107
-	public function hook_before_add(&$postdata) {      
108
-	    unset($postdata['password_confirmation']);
109
-	}
105
+        unset($postdata['password_confirmation']);
106
+    }
107
+    public function hook_before_add(&$postdata) {      
108
+        unset($postdata['password_confirmation']);
109
+    }
110 110
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
             "options" => ["table" => "cms_roles", "field_value" => "id", "field_label" => 'name'],
74 74
             'required' => true,
75 75
         ];					
76
-		$this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change");
77
-		$this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change");
76
+		$this->form[] = array("label"=>"Password", "name"=>"password", "type"=>"password", "help"=>"Please leave empty if not change");
77
+		$this->form[] = array("label"=>"Password Confirmation", "name"=>"password_confirmation", "type"=>"password", "help"=>"Please leave empty if not change");
78 78
 		
79 79
         # END FORM DO NOT REMOVE THIS LINE
80 80
     }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $this->button_save = true;
102 102
         # END CONFIGURATION DO NOT REMOVE THIS LINE
103 103
     }
104
-    public function hook_before_edit(&$postdata,$id) { 
104
+    public function hook_before_edit(&$postdata, $id) { 
105 105
 		unset($postdata['password_confirmation']);
106 106
 	}
107 107
 	public function hook_before_add(&$postdata) {      
Please login to merge, or discard this patch.