Skip to content

Commit

Permalink
fix: updating condition to not show empty session in user section (#7465
Browse files Browse the repository at this point in the history
)
  • Loading branch information
maze-runnar authored Nov 25, 2020
1 parent 16e386e commit 8a49010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/speakers.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def before_update_object(self, speaker, data, view_kwargs):
'Organizer access required to override email',
)
if (
data.get('is_email_overridden')
not data.get('is_email_overridden')
and has_access('is_organizer', event_id=speaker.event_id)
and not data.get('email')
):
Expand Down

0 comments on commit 8a49010

Please sign in to comment.