mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-18 01:12:06 +08: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)) {
|
||||
$this->updateOwnerFromId($entity, $ownerId);
|
||||
$this->updateOwnerFromId($entity, intval($ownerId));
|
||||
}
|
||||
|
||||
$entity->save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user