Skip to content

Commit

Permalink
[Bot] escape warning on Primo notification (#11298)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano authored Jan 13, 2025
1 parent f777fdd commit 404336d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __invoke(SendNewPrimoCotisationNotificationCommand $command): vo
$zoneLines = StringCleaner::escapeMarkdown(implode("\n", $zoneLines));

if (!$committeeMembership) {
$zoneLines = "\n_".(($committeesInAdherentZone = \count($this->committeeRepository->findInAdherentZone($adherent))) ? $committeesInAdherentZone.' comité(s) dans l\'Assemblée' : 'Aucun comité dans l\'Assemblée').'_';
$zoneLines = "\n_".(($committeesInAdherentZone = \count($this->committeeRepository->findInAdherentZone($adherent))) ? $committeesInAdherentZone.' comité\(s\) dans l\'Assemblée' : 'Aucun comité dans l\'Assemblée').'_';
}

$smsSubscriber = $adherent->hasSmsSubscriptionType() ? '' : '';
Expand Down

0 comments on commit 404336d

Please sign in to comment.