diff --git a/src/Controller/CapsuleController.php b/src/Controller/CapsuleController.php
index a9bec19bb048309f4b6a856ded8e775ad1eef5e1..7089903f3b8b61f4ca4f88a70413a8736355732c 100644
--- a/src/Controller/CapsuleController.php
+++ b/src/Controller/CapsuleController.php
@@ -205,8 +205,7 @@ class CapsuleController extends AbstractController
         int $id,
         Request $request,
         Filesystem $file_system,
-        TranslatorInterface $translator,
-        CapsuleRepository $capsule_repository
+        TranslatorInterface $translator
     ): Response {
         $form = $this->createForm(DuplicateCapsuleFormType::class);
         $form->handleRequest($request);
@@ -223,7 +222,9 @@ class CapsuleController extends AbstractController
             throw new \Exception('The retrieved capsule is not an instance of Capsule.');
         }
 
-        if (! $capsule_repository->doCapsuleBelongsToUser($parent_capsule, $current_user)) {
+        $capsule_editors = $parent_capsule->getEditors();
+
+        if (! in_array($current_user, $capsule_editors->toArray())) {
             $this->addFlash(
                 'warning',
                 $translator->trans(
diff --git a/templates/capsule/editors/list_editors.html.twig b/templates/capsule/editors/list_editors.html.twig
index 0dab1a470b5fda6b480a2f57c553a4689874eb65..bae2a9b099d4bf0700543f0b90897aa265a52ca5 100644
--- a/templates/capsule/editors/list_editors.html.twig
+++ b/templates/capsule/editors/list_editors.html.twig
@@ -61,7 +61,7 @@
                     </ul>
                 </div>
             </div>
-            
+
         </div>
     </div>