Apply fixes from StyleCI
This commit is contained in:

committed by
Manish Verma

parent
2f985011e9
commit
8ef067dbc5
@@ -104,11 +104,11 @@ class ProfileController extends Controller
|
||||
Input::file('profile_pic')->move($destinationPath, $fileName);
|
||||
$user->profile_pic = $fileName;
|
||||
} else {
|
||||
$user->fill($request->except('profile_pic', 'gender','active','role','is_delete','ban'))->save();
|
||||
$user->fill($request->except('profile_pic', 'gender', 'active', 'role', 'is_delete', 'ban'))->save();
|
||||
|
||||
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
||||
}
|
||||
if ($user->fill($request->except('profile_pic','active','role','is_delete','ban'))->save()) {
|
||||
if ($user->fill($request->except('profile_pic', 'active', 'role', 'is_delete', 'ban'))->save()) {
|
||||
return redirect('guest')->with('success', 'Profile Updated sucessfully');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user