mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 14:06:26 +02:00
mobile nr country substitute
This commit is contained in:
parent
4ccea2b0a1
commit
d928abe0ec
7 changed files with 20 additions and 10 deletions
|
@ -366,7 +366,7 @@ sub save_account(){
|
|||
#phonenr
|
||||
}elsif($_ eq "txt07"){
|
||||
$valxx =~ s/[\s\-\/]//g;
|
||||
if($valxx !~ /\d{9}/ || length($valxx) > 16 || $valxx !~ /\+[1-9]{3}/){
|
||||
if($valxx !~ /\d{9}/ || length($valxx) > 16){
|
||||
$ret = "failure::$_#top";
|
||||
}else{
|
||||
my $lastnum = $valxx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue