1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Added manual type conversion to fix failing tests

This commit is contained in:
Dan Brown
2021-01-01 18:38:54 +00:00
parent 5e686bb624
commit b43f997dab

View File

@ -28,7 +28,7 @@ class PermissionsUpdater
}
if (!is_null($ownerId)) {
$this->updateOwnerFromId($entity, $ownerId);
$this->updateOwnerFromId($entity, intval($ownerId));
}
$entity->save();