From 7bff27d20b74abad93251cd66ec4043f6f8817e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Sat, 12 Dec 2015 19:35:07 +0100 Subject: [PATCH] fix #221: deleting angeltype doesn't log correctly --- includes/controller/angeltypes_controller.php | 4 ++-- 1 file 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')); }