@@ -12,7 +12,7 @@ |
||
12 | 12 | $user = $this->findUser($id); |
13 | 13 | $modelInstance = app()->make(config('easy_panel.user_model')); |
14 | 14 | $column = config('easy_panel.column'); |
15 | - if(in_array($column, $modelInstance->getFillable()) or !in_array($column, $modelInstance->getGuarded())) { |
|
15 | + if (in_array($column, $modelInstance->getFillable()) or !in_array($column, $modelInstance->getGuarded())) { |
|
16 | 16 | $user->update([ |
17 | 17 | config('easy_panel.column') => 1 |
18 | 18 | ]); |