Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix conditional
akjanik73bddd129401
diff --git a/saleor/userprofile/forms.py b/saleor/userprofile/forms.pyindex 0504988091..f3f51d2e85 100644--- a/saleor/userprofile/forms.py+++ b/saleor/userprofile/forms.py@@ -17,8 +17,7 @@ def get_address_form(data, country_code, initial=None, instance=None, **kwargs):preview = country_form.cleaned_data['preview']if initial is None and country_code:initial = {}- initial['phone'] = '+{}'.format(- country_code_for_region(country_code))+ initial['phone'] = '+{}'.format(country_code_for_region(country_code))address_form_class = get_address_form_class(country_code)