added set credit to zero option

This commit is contained in:
Tóth Richárd
2019-11-21 19:17:41 +01:00
parent 44e5311b01
commit 4f645ca657
4 changed files with 25 additions and 0 deletions

View 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()}");
}
?>