find((int) $_GET["id"], new Author()); if (!$author) { die("Author #" . (int) $_GET["id"] . " not found"); } Registry::persistenceDriver()->delete($author); header("Location: authors.php");