summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-12 19:35:07 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-12 19:35:07 +0100
commit7bff27d20b74abad93251cd66ec4043f6f8817e6 (patch)
tree5badeef04c11423fe286e19a03ed2cd9bb1147ad
parent0e0f7f0516a9adcb9e7215062fc86c1ab8eccdc6 (diff)
fix #221: deleting angeltype doesn't log correctly
-rw-r--r--includes/controller/angeltypes_controller.php4
1 files changed, 2 insertions, 2 deletions
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'));
}