From 95481a289bb82d0aedaad8cbed8795313134a52a Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 30 Apr 2022 16:03:39 +0200 Subject: [PATCH] Fix query for current MatrixChat for ticket --- lib/Db/ChatMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/ChatMapper.php b/lib/Db/ChatMapper.php index 99425e6..2ca1051 100644 --- a/lib/Db/ChatMapper.php +++ b/lib/Db/ChatMapper.php @@ -44,7 +44,7 @@ class ChatMapper extends QBMapper ->from('upschooling_chats') ->where( $qb->expr()->eq('ticket_id', $qb->createNamedParameter($ticketId, IQueryBuilder::PARAM_INT)), - $qb->expr()->isNull('end_date') + $qb->expr()->isNull('date_end') ); return $this->findEntity($qb); }