From b11c4cb8877c8da6fe9c50cf6659232f4514e676 Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Thu, 9 Jan 2025 11:10:18 +0100 Subject: [PATCH] [Bug]: Fix decline duplicates (#547) --- src/Controller/Admin/DuplicatesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Admin/DuplicatesController.php b/src/Controller/Admin/DuplicatesController.php index fa6c6146..2392d46b 100644 --- a/src/Controller/Admin/DuplicatesController.php +++ b/src/Controller/Admin/DuplicatesController.php @@ -93,7 +93,7 @@ public function declineAction(Request $request): JsonResponse { try { \Pimcore::getContainer()->get('cmf.customer_duplicates_index')->declinePotentialDuplicate( - $request->request->getInt('id') + $request->attributes->getInt('id') ); return new JsonResponse(['success' => true]);