Fix bug
This commit is contained in:
parent
001a0c1552
commit
5240f426c1
@ -1156,7 +1156,7 @@ class Event(models.Model):
|
||||
return Message.objects.filter(related_event=self.pk, message_type__in=types, closed=False)
|
||||
else:
|
||||
logger.warning("cas multiple")
|
||||
return Message.objects.filter(related_event__in=self.other_versions.get_duplicated(), message_typ__in=types, closed=False).first()
|
||||
return Message.objects.filter(related_event__in=self.other_versions.get_duplicated(), message_type__in=types, closed=False).first()
|
||||
|
||||
|
||||
def notify_if_required(self, request):
|
||||
|
Loading…
x
Reference in New Issue
Block a user