mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added manual type conversion to fix failing tests
This commit is contained in:
@ -28,7 +28,7 @@ class PermissionsUpdater
|
||||
}
|
||||
|
||||
if (!is_null($ownerId)) {
|
||||
$this->updateOwnerFromId($entity, $ownerId);
|
||||
$this->updateOwnerFromId($entity, intval($ownerId));
|
||||
}
|
||||
|
||||
$entity->save();
|
||||
|
Reference in New Issue
Block a user