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.
|
|
diff --git a/app/classes/Framadate/Services/PollService.php b/app/classes/Framadate/Services/PollService.php
index ca9eb70..3d9e967 100644
--- a/app/classes/Framadate/Services/PollService.php
+++ b/app/classes/Framadate/Services/PollService.php
@@ -216,7 +216,7 @@ class PollService {
list($poll_id, $admin_poll_id) = $this->createPoll($form); // Send confirmation by mail if enabled - if (!is_null($ids)) {
+ if (!is_null($poll_id)) {
// Everything went well $this->notificationService->sendPollCreationMails($form->admin_mail, $form->admin_name, $form->title, $poll_id, $admin_poll_id);
|