Skip to content
Snippets Groups Projects
Verified Commit d7eb3f7a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix forgotten variable rename.

parent 5e219807
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ def clean_phonenumber(field):
value = obj.cleaned_data[field]
if value:
pn = phonenumbers.parse(pn, 'DE')
pn = phonenumbers.parse(value, 'DE')
value = phonenumbers.format_number(pn, phonenumbers.PhoneNumberFormat.E164)
return value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment