alphanumeric voucher
This commit is contained in:
parent
f3349b50c8
commit
b9ff4399a4
@ -230,6 +230,6 @@ $ui->assign('unpaid', ORM::for_table('tbl_payment_gateway')
|
||||
->where('username', $user['username'])
|
||||
->where('status', 1)
|
||||
->find_one());
|
||||
$ui->assign('code', alphanumeric(_get('code')));
|
||||
$ui->assign('code', alphanumeric(_get('code'),"-"));
|
||||
run_hook('view_customer_dashboard'); #HOOK
|
||||
$ui->display('user-dashboard.tpl');
|
||||
|
@ -182,7 +182,7 @@ switch ($do) {
|
||||
default:
|
||||
run_hook('customer_view_login'); #HOOK
|
||||
if ($config['disable_registration'] == 'yes') {
|
||||
$ui->assign('code', alphanumeric(_get('code')));
|
||||
$ui->assign('code', alphanumeric(_get('code'),"-"));
|
||||
$ui->display('user-login-noreg.tpl');
|
||||
} else {
|
||||
$ui->display('user-login.tpl');
|
||||
|
@ -17,7 +17,7 @@ switch ($action) {
|
||||
|
||||
case 'activation':
|
||||
run_hook('view_activate_voucher'); #HOOK
|
||||
$ui->assign('code', alphanumeric(_get('code')));
|
||||
$ui->assign('code', alphanumeric(_get('code'),"-"));
|
||||
$ui->display('user-activation.tpl');
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user