fix #221: deleting angeltype doesn't log correctly
This commit is contained in:
parent
0e0f7f0516
commit
7bff27d20b
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue