From d7d9b11fbd5fdc86515116297cc2fe79a0970b9e Mon Sep 17 00:00:00 2001 From: Olivier PEREZ Date: Fri, 29 May 2015 17:46:13 +0200 Subject: [PATCH] Add anti-flood 'find my polls' --- find_polls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_polls.php b/find_polls.php index e3ca6dd..5e25a07 100644 --- a/find_polls.php +++ b/find_polls.php @@ -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'));