mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-10 09:12:51 +08:00
if register not using FTP, username willnot go to phonenumber
This commit is contained in:
parent
6db447d79f
commit
d9cda04f7d
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ switch ($do) {
|
|||
$password = _post('password');
|
||||
$cpassword = _post('cpassword');
|
||||
$address = _post('address');
|
||||
$phonenumber = _post('username');
|
||||
if(!empty($config['sms_url'])){
|
||||
$phonenumber = _post('username');
|
||||
}
|
||||
$msg = '';
|
||||
if (Validator::Length($username, 35, 2) == false) {
|
||||
$msg .= 'Username should be between 3 to 55 characters' . '<br>';
|
||||
|
|
Loading…
Reference in a new issue