Add anti-flood 'find my polls'

This commit is contained in:
Olivier PEREZ 2015-05-29 17:46:13 +02:00
parent 278e478d1a
commit d7d9b11fbd
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if (!empty($_POST['mail'])) {
$smarty->assign('polls', $polls);
$body = $smarty->fetch('mail/find_polls.tpl');
$mailService->send($mail, __('Homepage', 'Where are my polls'), $body);
$mailService->send($mail, __('Homepage', 'Where are my polls'), $body, '', 'SEND_POLLS');
$message = new Message('success', __('FindPolls', 'Polls sent'));
} else {
$message = new Message('warning', __('Error', 'No polls found'));