mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fix phone number display issue
This commit is contained in:
@@ -10,7 +10,7 @@ def phone_format(value: str):
|
|||||||
if not value:
|
if not value:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
if isinstance(value, PhoneNumber):
|
if isinstance(value, PhoneNumber) and value.as_international:
|
||||||
return value.as_international
|
return value.as_international
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user