fixed #529
This commit is contained in:
parent
a25ec51a9a
commit
7d17cbecce
@ -25,7 +25,7 @@ class Permission extends FormRequest
|
||||
{
|
||||
// Check if store or update
|
||||
if ($this->getMethod() == 'PATCH') {
|
||||
$id = $this->role->getAttribute('id');
|
||||
$id = $this->permission->getAttribute('id');
|
||||
} else {
|
||||
$id = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user