summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-12 19:39:30 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-12 19:39:30 +0100
commit28edf6bd48552c009771e55f823533a5793cd1de (patch)
treefc4557ca07bf3bfbf54f1e110492ce3c50b72a7c
parent7bff27d20b74abad93251cd66ec4043f6f8817e6 (diff)
make register log entry include link to userpage
-rw-r--r--includes/pages/guest_login.php3
1 files changed, 2 insertions, 1 deletions
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('?');