error in code

This commit is contained in:
2018-11-05 21:57:07 -06:00
parent 43fbf55cc4
commit 57a537e4ca
@@ -192,7 +192,7 @@ class LoginController extends Controller
*/
private function SetRole($role, $charId) {
//Insert the role into the database
$roles = new App\Models\UserRole;
$roles = new \App\Models\UserRole;
$roles->character_id = $charId;
$roles->role = $role;
$roles->save();