Completed
Push — master ( 662b4e...e0c8b5 )
by Igor
9s
created
models/UserModel.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,16 +55,16 @@
 block discarded – undo
55 55
         ], parent::attributeLabels());
56 56
     }
57 57
 
58
-  /**
59
-    * update user password when new password not blank.
60
-    *
61
-	*/
58
+    /**
59
+     * update user password when new password not blank.
60
+     *
61
+     */
62 62
 
63 63
     public function beforeSave($insert)
64 64
     {
65 65
         if (parent::beforeSave($insert)) {
66 66
             if (!$this->isNewRecord && $this->password != '') {
67
-              $this->setPassword($this->password);
67
+                $this->setPassword($this->password);
68 68
             }
69 69
             return true;
70 70
         } else {
Please login to merge, or discard this patch.