mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-17 17:42:24 +02: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');
|
$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…
Add table
Add a link
Reference in a new issue