mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 14:06:26 +02:00
shareetool operator fix
This commit is contained in:
parent
fe9ae91ff8
commit
c7c9e0e699
5 changed files with 80 additions and 34 deletions
|
@ -393,13 +393,6 @@ sub save_account(){
|
|||
if($valxx !~ /\d{9}/ || length($valxx) > 16){
|
||||
$ret = "failure::$_#top";
|
||||
}else{
|
||||
my $lastnum = $valxx;
|
||||
$lastnum = $1 if($valxx =~ /(\d{9})$/);
|
||||
my $phone_check = &check_account("","txt07","~",$lastnum,"c_id","!=",$c_id);
|
||||
if($phone_check->{c_id} && $phone_check->{c_id} != $c_id){
|
||||
my $encoded_val = $uri_encode->encode($valxx);
|
||||
$ret_conflict = "failure::conflict_$_=$encoded_val#top";
|
||||
}
|
||||
#smsAck reset
|
||||
if($valxx ne $ctadr->{txt07}){
|
||||
$u_rows = $dbt->update_one($dbh,$update_primary,"int13=0");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue