mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
dont show echo
This commit is contained in:
parent
08b2e16e73
commit
d69086d99b
3 changed files with 11 additions and 5 deletions
|
@ -22,7 +22,7 @@ switch ($do) {
|
|||
$password = _post('password');
|
||||
$cpassword = _post('cpassword');
|
||||
$address = _post('address');
|
||||
|
||||
|
||||
// Separate phone number input if OTP is required
|
||||
if (!empty($config['sms_url']) && $_c['sms_otp_registration'] == 'yes') {
|
||||
$phone_number = alphanumeric(_post('phone_number'), "+_.@-");
|
||||
|
@ -81,7 +81,7 @@ switch ($do) {
|
|||
if ($d) {
|
||||
$msg .= Lang::T('Account already exists') . '<br>';
|
||||
}
|
||||
|
||||
|
||||
if ($msg == '') {
|
||||
run_hook('register_user'); #HOOK
|
||||
$d = ORM::for_table('tbl_customers')->create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue