dont show echo

This commit is contained in:
iBNu Maksum
2024-10-28 15:49:44 +07:00
parent 08b2e16e73
commit d69086d99b
3 changed files with 11 additions and 5 deletions

View File

@ -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();