From a8db7a90f10298b15a796ff052858df32e70787f Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Mon, 9 May 2022 19:25:41 +0100 Subject: [PATCH] fix: undefined variable in AttachmentMapper.php Signed-off-by: Luka Trovic --- lib/Db/AttachmentMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/AttachmentMapper.php b/lib/Db/AttachmentMapper.php index 46e63f7c4..67867e907 100644 --- a/lib/Db/AttachmentMapper.php +++ b/lib/Db/AttachmentMapper.php @@ -73,7 +73,7 @@ class AttachmentMapper extends DeckMapper implements IPermissionMapper { $row2 = $cursor->fetch(); $cursor->closeCursor(); 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);