mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 05:36:00 +00:00
Added manual type conversion to fix failing tests
This commit is contained in:
parent
5e686bb624
commit
b43f997dab
@ -28,7 +28,7 @@ class PermissionsUpdater
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!is_null($ownerId)) {
|
if (!is_null($ownerId)) {
|
||||||
$this->updateOwnerFromId($entity, $ownerId);
|
$this->updateOwnerFromId($entity, intval($ownerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
$entity->save();
|
$entity->save();
|
||||||
|
Loading…
Reference in New Issue
Block a user