fix user deletion

This commit is contained in:
Shish
2020-02-01 11:58:42 +00:00
parent ce22deea83
commit 57cd550204
2 changed files with 3 additions and 3 deletions

View File

@@ -704,7 +704,7 @@ class UserPage extends Extension
);
}
send_event(new UserDeletionEvent($_POST['id']));
send_event(new UserDeletionEvent((int)$_POST['id']));
$database->execute(
"DELETE FROM users WHERE id = :id",