This commit is contained in:
2018-12-06 21:39:39 -06:00
parent e6557987ba
commit 6f252513b1

View File

@@ -27,7 +27,7 @@ class RequireRole
'Admin' => 4,
];
$check = UserRole::where('character_id', auth()->user()->character_id)->get(['role']);
dd($check);
if($ranking[$check[0]->role] === $ranking[$role]) {
$confirmed = true;
}