mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-19 00:59:23 +02:00
Merge branch 'hotspotbilling:Development' into Development
This commit is contained in:
commit
edae267a39
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ switch ($action) {
|
||||||
}
|
}
|
||||||
$code = Text::alphanumeric(_post('code'), "-_.,");
|
$code = Text::alphanumeric(_post('code'), "-_.,");
|
||||||
$user = ORM::for_table('tbl_customers')->where('id', _post('id_customer'))->find_one();
|
$user = ORM::for_table('tbl_customers')->where('id', _post('id_customer'))->find_one();
|
||||||
$v1 = ORM::for_table('tbl_voucher')->whereRaw("BINARY `code` = '?'", [$code])->where('status', 0)->find_one();
|
$v1 = ORM::for_table('tbl_voucher')->whereRaw("BINARY `code` = '$code'")->where('status', 0)->find_one();
|
||||||
|
|
||||||
run_hook('refill_customer'); #HOOK
|
run_hook('refill_customer'); #HOOK
|
||||||
if ($v1) {
|
if ($v1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue