2222222
This commit is contained in:
parent
0466f2f43e
commit
445504d83b
@ -400,7 +400,7 @@ function WSTCheckLoginKey2($val,$userId = 0){
|
||||
if(!WSTCheckFilterWords($val,WSTConf("CONF.registerLimitWords"))){
|
||||
return WSTReturn("户主姓名包含非法字符");
|
||||
}
|
||||
$dbo = Db::name('users')->where(["householdName"=>['=',$val]]);
|
||||
$dbo = Db::name('auth_personal')->where(["householdName"=>['=',$val]]);
|
||||
if($userId>0){
|
||||
$dbo->where("userId", "<>", $userId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user