bugfixes#1

This commit is contained in:
Ricsi
2016-11-23 09:17:27 +00:00
parent c4caabe6d4
commit d678ee8d70
5 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
if ($this->is_id()) {
$delete_query = "DELETE FROM user_parent WHERE up_id = " . $this->get_id() . ";";
$sql->execute_query($delete_query);
header("Location: /admin/parents");
}
?>