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