diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index 6afa67dc..44427f5b 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -68,8 +68,8 @@ function angeltype_delete_controller() { if ($result === false) engelsystem_error("Unable to delete angeltype."); - engelsystem_log("Deleted angeltype: " . $name); - success(sprintf(_("Angeltype %s deleted."), $name)); + engelsystem_log("Deleted angeltype: " . $angeltype['name']); + success(sprintf(_("Angeltype %s deleted."), $angeltype['name'])); redirect(page_link_to('angeltypes')); }