Skip to content

Commit 75bd4a4

Browse files
author
Marcin Gierus
committed
Minor fix
1 parent 3ecbe9e commit 75bd4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Permissions/hasPermissionsTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function withdrawRoles($roles){
7676
* @return Illuminate\Database\Eloquent\Model
7777
*/
7878
protected function getAllRoles($roles){
79-
return Role::whereIn('name',$role)->get();
79+
return Role::whereIn('name',$roles)->get();
8080
}
8181

8282
/*

0 commit comments

Comments
 (0)