1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Related to #19, fix the alias creation page

This commit is contained in:
Pierre Jaury
2016-08-11 14:27:01 +02:00
parent dcaf3e3473
commit 5581f1b0d9

View File

@@ -21,7 +21,7 @@ class DestinationField(fields.SelectMultipleField):
for email in managed:
selected = self.data is not None and self.coerce(email) in self.data
yield (email, email, selected)
for email in self.data:
for email in self.data or ():
if email not in managed:
yield (email, email, True)