You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
651 B

  1. diff --git a/app/classes/Framadate/Services/PollService.php b/app/classes/Framadate/Services/PollService.php
  2. index ca9eb70..3d9e967 100644
  3. --- a/app/classes/Framadate/Services/PollService.php
  4. +++ b/app/classes/Framadate/Services/PollService.php
  5. @@ -216,7 +216,7 @@ class PollService {
  6. list($poll_id, $admin_poll_id) = $this->createPoll($form);
  7. // Send confirmation by mail if enabled
  8. - if (!is_null($ids)) {
  9. + if (!is_null($poll_id)) {
  10. // Everything went well
  11. $this->notificationService->sendPollCreationMails($form->admin_mail, $form->admin_name, $form->title, $poll_id, $admin_poll_id);