Commit 8b64f92d authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Fix manually sending meeting reminders

/close #190
parent 6013f575
......@@ -930,7 +930,7 @@ def send_protocol_reminder(protocol):
if not config.MAIL_ACTIVE:
flash("Die Mailfunktion ist nicht aktiviert.", "alert-error")
return back.redirect("show_protocol", protocol_id=protocol.id)
meetingreminders = protocol.reminders
meetingreminders = protocol.protocoltype.reminders
if len(meetingreminders) == 0:
flash("Für diesen Protokolltyp sind keine Einladungsmails "
"konfiguriert.", "alert-error")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment