From 28edf6bd48552c009771e55f823533a5793cd1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Sat, 12 Dec 2015 19:39:30 +0100 Subject: [PATCH] make register log entry include link to userpage --- includes/pages/guest_login.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 677b057b..ed8b4dae 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -161,7 +161,8 @@ function guest_register() { 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]; } - engelsystem_log("User " . $nick . " signed up as: " . join(", ", $user_angel_types_info)); + + engelsystem_log("User " . User_Nick_render(User($user_id)) . " signed up as: " . join(", ", $user_angel_types_info)); success(_("Angel registration successful!")); redirect('?');