Skip to content

Commit

Permalink
Fix phone number else statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason.moore@dbca.wa.gov.au authored and jason.moore@dbca.wa.gov.au committed Mar 14, 2019
1 parent 71edc44 commit 64fae5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mooring/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def get(self, request, *args, **kwargs):
if len(request.user.mobile_number) > 1:
form_context['phone'] = request.user.mobile_number
else:
form_context['phone'] = request.user.mobile_number
form_context['phone'] = request.user.phone_number
else:
form_context['phone'] = request.user.phone_number
if Address.objects.filter(user=request.user).count() > 0:
Expand Down

0 comments on commit 64fae5b

Please sign in to comment.