Fix new notif

This commit is contained in:
cuom1999 2023-10-10 20:49:23 -05:00
parent a377f45e0b
commit 8da03aebb0

View file

@ -382,7 +382,7 @@ class ProblemAdmin(CompareVersionAdmin):
category = "Problem public: " + str(obj.is_public) category = "Problem public: " + str(obj.is_public)
if orgs: if orgs:
category += " (" + ", ".join(orgs) + ")" category += " (" + ", ".join(orgs) + ")"
make_notification(users, html, category, request.profile) make_notification(users, category, html, request.profile)
def construct_change_message(self, request, form, *args, **kwargs): def construct_change_message(self, request, form, *args, **kwargs):
if form.cleaned_data.get("change_message"): if form.cleaned_data.get("change_message"):