@@ -59,6 +59,7 @@ class User extends Model
unset($data['type_id']);
}
if($id > 0){
+ $ids = $id;
if(!$data['password']){
unset($data['password']);