From a44bc668cedd1c3f0078c7f92e68495761bbbd6f Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 12 Dec 2024 16:31:56 +0100 Subject: [PATCH] fix(BookmarkMapper): Be compatible with mysql ANSI_QUOTES option fixes #2227 Signed-off-by: Marcel Klehr --- lib/Db/BookmarkMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/BookmarkMapper.php b/lib/Db/BookmarkMapper.php index 50f7f9487..b1c3729a3 100644 --- a/lib/Db/BookmarkMapper.php +++ b/lib/Db/BookmarkMapper.php @@ -875,7 +875,7 @@ private function _getTagsColumn(IQueryBuilder $qb) : IQueryFunction { if ($dbType === 'pgsql') { $tagsCol = $qb->createFunction('array_to_string(array_agg(' . $qb->getColumnName('t.tag') . "), ',')"); } else { - $tagsCol = $qb->createFunction('IFNULL(GROUP_CONCAT(' . $qb->getColumnName('t.tag') . '), "")'); + $tagsCol = $qb->createFunction('IFNULL(GROUP_CONCAT(' . $qb->getColumnName('t.tag') . "), '')"); } return $tagsCol; }