Commit f65f261c authored by Sli's avatar Sli
Browse files

mailing: Fix error when deleting user from mailing when only email provided

parent 4f6109e2
Pipeline #1163 passed with stage
in 4 minutes and 34 seconds
......@@ -307,7 +307,7 @@ class MailingSubscription(models.Model):
return or user.is_root or self.user.is_in_group(settings.SITH_GROUP_COM_ADMIN_ID)
def can_be_edited_by(self, user):
return (user is not None and ==
return (self.user is not None and ==
def fetch_format(self):
return + ' '
Supports Markdown
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