Fix bug in Reminder.get_organization_name()

parent d5967e32
......@@ -58,9 +58,9 @@ class Reminder(models.Model):
def get_organization_name(self):
if self.organization is None:
return self.organization.display_name
else:
return self.organization_name or _("Unknown organisation")
else:
return self.organization.display_name
def is_expired(self):
cannot_send_email = self.email is None
......
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