fix #221: deleting angeltype doesn't log correctly

This commit is contained in:
Philip Häusler 2015-12-12 19:35:07 +01:00
parent 0e0f7f0516
commit 7bff27d20b
1 changed files with 2 additions and 2 deletions

View File

@ -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'));
}