Skip to content
Snippets Groups Projects
Commit 1f836495 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : Erreur destinataires dynamiques non calculé

parent 44ae30b5
No related branches found
No related tags found
No related merge requests found
Pipeline #30430 passed
......@@ -303,8 +303,6 @@ class SignatureService
$observers = [];
}
//Uniquement si on a définit des méthodes dynamiques de récupération dans la config unicaen-signature
if($currentStep['dynamicRecipients'])
{
if (is_callable($method['getRecipients'])) {
$options = array_merge_recursive($extrasOptions, $step->getOptions());
$recipientsDatas = $method['getRecipients']($this->getServiceContainer(), $options);
......@@ -313,7 +311,6 @@ class SignatureService
else {
$recipients = $step->getOptions()['recipients'];
}
}
if ($recipients == null) {
$recipients = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment