Skip to content

Commit

Permalink
[Bot] escape warning on Primo notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Jan 13, 2025
1 parent f777fdd commit ac1a2e1
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 ac1a2e1

Please sign in to comment.