fixing typo in alert edit view
This commit is contained in:
@@ -4492,7 +4492,7 @@ def alert_edit_view(request,id=0,userid=0):
|
||||
raise Http404("This alert doesn't exist")
|
||||
|
||||
|
||||
if not alert.manager != request.user:
|
||||
if alert.manager != request.user:
|
||||
raise PermissionDenied('You are not allowed to edit this Alert')
|
||||
|
||||
FilterFormSet = formset_factory(ConditionEditForm, formset=BaseConditionFormSet,extra=0)
|
||||
|
||||
Reference in New Issue
Block a user