added set credit to zero option
This commit is contained in:
14
_include/include_set_credit_to_zero.php
Normal file
14
_include/include_set_credit_to_zero.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
# HITELALKALOM NULLÁZÁS
|
||||
|
||||
if ($this->is_id()) {
|
||||
$sql->update_table("user_kid", array(
|
||||
"uk_credit" => 0,
|
||||
), array(
|
||||
"uk_id" => $this->get_id(),
|
||||
));
|
||||
|
||||
header("Location: /admin/members/{$this->get_id()}");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user