added credits
This commit is contained in:
@@ -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