mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 13:02:39 +09:00
remove All Non-Numeric Characters from telephone number
This commit is contained in:
1 parent
f3c5dfbc0f
commit
9270797247
1 file changed
+1
@@ -427,6 +427,7 @@ class Registrar_Adapter_Resellerclub extends Registrar_AdapterAbstract
|
||||
$company = $c->getFirstName() . ' ' . $c->getLastName();
|
||||
}
|
||||
$phoneNum = $c->getTel();
|
||||
$phoneNum = preg_replace( "/[^0-9]/", "", $phoneNum);
|
||||
$phoneNum = substr($phoneNum, 0, 12);
|
||||
$params = array(
|
||||
'username' => $c->getEmail(),
|
||||
|
||||
Reference in new issue
Block a user