From d621299746cd0b9f4af6c5cac659a023053a663d Mon Sep 17 00:00:00 2001 From: xillibit Date: Sat, 11 May 2024 10:58:17 +0200 Subject: [PATCH] [K6.3] Attachment entry in attachment wasn't removed #9679 --- src/site/src/Controllers/TopicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/src/Controllers/TopicController.php b/src/site/src/Controllers/TopicController.php index f32dae33e7d..322b9e428c2 100644 --- a/src/site/src/Controllers/TopicController.php +++ b/src/site/src/Controllers/TopicController.php @@ -315,7 +315,7 @@ public function removeattachments() throw new RuntimeException(Text::_('Forbidden'), 403); } - $attach_id = $this->input->getInt('file_id', 0); + $attach_id = $this->input->getInt('files_id_delete', 0); $userid = $this->input->getInt('userid', 0); $success = []; $instance = KunenaAttachmentHelper::get($attach_id);