diff --git a/module/Application/Module.php b/module/Application/Module.php
index d7a1e6276ae8d37647ff005c315ba97a1a16fc42..58626431daffe166b33c8d42ce8f1fdd83ecce11 100755
--- a/module/Application/Module.php
+++ b/module/Application/Module.php
@@ -67,15 +67,12 @@ class Module implements ConsoleUsageProviderInterface, ConsoleBannerProviderInte
                 switch ($name) {
                     case 'intervenant':
                         $role = $sm->get(ContextService::class)->getSelectedIdentityRole();
-                        if ($role && $entity = $role->getIntervenant()) {
-                            $e->setParam($name, $entity);
+                        if ($role && $role->getIntervenant()) {
+                            $e->setParam($name, $role->getIntervenant());
                         }else{
                             $entity = $entityService->getBySourceCode($value);
                             $e->setParam($name, $entity);
                         }
-
-                        $entity = $entityService->getBySourceCode($value);
-                        $e->setParam($name, $entity);
                     break;
                     case 'typeAgrementCode':
                         $entity = $entityService->getByCode($value);