added credits
This commit is contained in:
1 parent
1f7b0a06d0
commit
d760306d97
6 files changed
+275
-172
No files matched your search
@@ -296,6 +296,10 @@ if (isset($_POST['action'])) {
|
||||
|
||||
$tmp_user->update_balance();
|
||||
|
||||
//ha pozitiv az egyenleg, akkor lenullázhatjuk a hitelalkalmait (???)
|
||||
if (($tmp_user->get_uk_balance() + $_POST['mod_sum']) > 0) {
|
||||
$sql->update_table('user_kid', array('uk_credit' => '0'), array('uk_id' => $_POST['mod_user_kid_uk_id']));
|
||||
}
|
||||
header("Location: /admin/money_deposit");
|
||||
break;
|
||||
case 'money_deposit_update':
|
||||
|
||||
Reference in new issue
Block a user