Commit 0b0f625f authored by Sebastien Robin's avatar Sebastien Robin

fixed typo error

git-svn-id: https://svn.erp5.org/repos/experimental@1952 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 40b9f07f
...@@ -97,7 +97,7 @@ class EssendexGateway(XMLObject): ...@@ -97,7 +97,7 @@ class EssendexGateway(XMLObject):
"""Transform url of phone number to a valid phone number (gateway side)""" """Transform url of phone number to a valid phone number (gateway side)"""
phone = phone.replace('tel:', '').replace('+','').replace('(0)','').replace('-','') phone = phone.replace('tel:', '').replace('+','').replace('(0)','').replace('-','')
# Check that phone number can not be something not existing # Check that phone number can not be something not existing
assert not(phone.startwith('99000')) assert not(phone.startswith('99000'))
return phone return phone
security.declareProtected(Permissions.ManagePortal, 'send') security.declareProtected(Permissions.ManagePortal, 'send')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment