From 89c64731dfbf1afd276454b0191c7969a6aee6ef Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 2 Sep 2026 14:28:29 -0700 Subject: [PATCH] fix(tags): broken tag deletion on user delete There's a typo here. It's getting tagIds but then trying to use it as a uid. This causes hard failures. Signed-off-by: Varun Patil --- lib/private/TagManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/TagManager.php b/lib/private/TagManager.php index 857fccb0159c9..2850dbfcf3440 100644 --- a/lib/private/TagManager.php +++ b/lib/private/TagManager.php @@ -126,7 +126,7 @@ public function handle(Event $event): void { // Clean vcategory $qb1 = $this->connection->getQueryBuilder(); $qb1 = $qb1->delete('vcategory') - ->where($qb1->expr()->in('uid', $qb1->createParameter('chunk'))); + ->where($qb1->expr()->in('id', $qb1->createParameter('chunk'))); foreach (array_chunk($tagsIds, IQueryBuilder::MAX_IN_PARAMETERS) as $tagChunk) { $qb->setParameter('chunk', $tagChunk, IQueryBuilder::PARAM_INT_ARRAY);