if register not using FTP, username willnot go to phonenumber
This commit is contained in:
parent
6db447d79f
commit
d9cda04f7d
@ -24,7 +24,9 @@ switch ($do) {
|
|||||||
$password = _post('password');
|
$password = _post('password');
|
||||||
$cpassword = _post('cpassword');
|
$cpassword = _post('cpassword');
|
||||||
$address = _post('address');
|
$address = _post('address');
|
||||||
|
if(!empty($config['sms_url'])){
|
||||||
$phonenumber = _post('username');
|
$phonenumber = _post('username');
|
||||||
|
}
|
||||||
$msg = '';
|
$msg = '';
|
||||||
if (Validator::Length($username, 35, 2) == false) {
|
if (Validator::Length($username, 35, 2) == false) {
|
||||||
$msg .= 'Username should be between 3 to 55 characters' . '<br>';
|
$msg .= 'Username should be between 3 to 55 characters' . '<br>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user