diff --git a/lib/Db/LocksRequest.php b/lib/Db/LocksRequest.php index 92bcf5a8..470b5fa8 100644 --- a/lib/Db/LocksRequest.php +++ b/lib/Db/LocksRequest.php @@ -51,6 +51,7 @@ public function save(FileLock $lock) { $qb->setValue('user_id', $qb->createNamedParameter($lock->getOwner())) ->setValue('file_id', $qb->createNamedParameter($lock->getFileId())) ->setValue('token', $qb->createNamedParameter($lock->getToken())) + ->setValue('owner', $qb->createNamedParameter($lock->getDisplayName())) ->setValue('creation', $qb->createNamedParameter($lock->getCreatedAt())) ->setValue('type', $qb->createNamedParameter($lock->getType())) ->setValue('ttl', $qb->createNamedParameter($lock->getTimeout()));