Now displaying checkmark by default when user is set to VIP
This commit is contained in:
parent
7b9a3ae956
commit
64938046b7
|
@ -242,6 +242,12 @@ public function SendTestMail(Request $request)
|
||||||
$customBackground = $request->file('background');
|
$customBackground = $request->file('background');
|
||||||
$theme = $request->theme;
|
$theme = $request->theme;
|
||||||
|
|
||||||
|
if(User::where('id', $id)->get('role')->first()->role =! $role) {
|
||||||
|
if ($role == 'vip') {
|
||||||
|
UserData::saveData($id, 'checkmark', true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($request->password == '') {
|
if ($request->password == '') {
|
||||||
User::where('id', $id)->update(['name' => $name, 'email' => $email, 'littlelink_name' => $littlelink_name, 'littlelink_description' => $littlelink_description, 'role' => $role, 'theme' => $theme]);
|
User::where('id', $id)->update(['name' => $name, 'email' => $email, 'littlelink_name' => $littlelink_name, 'littlelink_description' => $littlelink_description, 'role' => $role, 'theme' => $theme]);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue