fix #221: deleting angeltype doesn't log correctly

main
Philip Häusler 9 years ago
parent 0e0f7f0516
commit 7bff27d20b

@ -68,8 +68,8 @@ function angeltype_delete_controller() {
if ($result === false) if ($result === false)
engelsystem_error("Unable to delete angeltype."); engelsystem_error("Unable to delete angeltype.");
engelsystem_log("Deleted angeltype: " . $name); engelsystem_log("Deleted angeltype: " . $angeltype['name']);
success(sprintf(_("Angeltype %s deleted."), $name)); success(sprintf(_("Angeltype %s deleted."), $angeltype['name']));
redirect(page_link_to('angeltypes')); redirect(page_link_to('angeltypes'));
} }

Loading…
Cancel
Save