From 7fa2353c3803ef231ec789298dbffd0b0b0e7919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Thu, 27 Dec 2012 03:32:15 +0100 Subject: [PATCH] #28 array hotfix for log --- includes/pages/guest_login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 073e2625..98776867 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -119,7 +119,7 @@ function guest_register() { $user_angel_types_info = array(); foreach ($selected_angel_types as $selected_angel_type_id) { sql_query("INSERT INTO `UserAngelTypes` SET `user_id`=" . sql_escape($user_id) . ", `angeltype_id`=" . sql_escape($selected_angel_type_id)); - $user_angel_types_info[] = $angel_types[$selected_angel_type_id]['name']; + $user_angel_types_info[] = $angel_types[$selected_angel_type_id]; } engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info)); success(Get_Text("makeuser_writeOK4"));