Skip to content

Commit 0b7d575

Browse files
committed
fix: make compatible with Nextcloud 31
Signed-off-by: Vitor Mattos <[email protected]>
1 parent d5ef037 commit 0b7d575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Db/FileMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getDeletionContext(int $nodeId): array {
237237
->leftJoin('foj', 'libresign_file_element', 'fe', $qb->expr()->eq('fe.file_id', 'f.id'))
238238
->setMaxResults(1);
239239

240-
$row = $qb->executeQuery()->fetchAssociative();
240+
$row = $qb->executeQuery()->fetch();
241241
if (!$row) {
242242
return ['type' => 'not_libresign_file', 'fileId' => null];
243243
}

0 commit comments

Comments
 (0)