fix: undefined variable in AttachmentMapper.php
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
@@ -73,7 +73,7 @@ class AttachmentMapper extends DeckMapper implements IPermissionMapper {
|
|||||||
$row2 = $cursor->fetch();
|
$row2 = $cursor->fetch();
|
||||||
$cursor->closeCursor();
|
$cursor->closeCursor();
|
||||||
if ($row2 !== false) {
|
if ($row2 !== false) {
|
||||||
throw new MultipleObjectsReturnedException('Did not expect more than one result when executing' . $query);
|
throw new MultipleObjectsReturnedException('Did not expect more than one result when executing' . $qb);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->mapRowToEntity($row);
|
return $this->mapRowToEntity($row);
|
||||||
|
|||||||
Reference in New Issue
Block a user