Update card.php
This commit is contained in:
parent
2d3a6d2108
commit
f6a2fd6eb8
@ -156,6 +156,7 @@ if (empty($reshook)) {
|
|||||||
|
|
||||||
$object = new User($db);
|
$object = new User($db);
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
|
$object->oldcopy = clone $object;
|
||||||
|
|
||||||
$result = $object->delete($user);
|
$result = $object->delete($user);
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user