summaryrefslogtreecommitdiff
path: root/includes/model/User_model.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-26 19:26:53 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-26 19:26:53 +0100
commit1ec2783a8ef18c4d485e25a518d50fc4d9ea0035 (patch)
treee8ffc79d8442abffed1dcebd026f31110edf126a /includes/model/User_model.php
parentdc412ba8268c41dfb5d9b31be70ef6c8d32adfb3 (diff)
use user nick render
Diffstat (limited to 'includes/model/User_model.php')
-rw-r--r--includes/model/User_model.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/model/User_model.php b/includes/model/User_model.php
index bbab14e5..516f9adf 100644
--- a/includes/model/User_model.php
+++ b/includes/model/User_model.php
@@ -6,7 +6,7 @@
/**
* Update user.
- *
+ *
* @param User $user
*/
function User_update($user) {
@@ -243,7 +243,7 @@ function User_generate_password_recovery_token(&$user) {
$result = sql_query("UPDATE `User` SET `password_recovery_token`='" . sql_escape($user['password_recovery_token']) . "' WHERE `UID`='" . sql_escape($user['UID']) . "' LIMIT 1");
if ($result === false)
return false;
- engelsystem_log("Password recovery for " . $user['Nick'] . " started.");
+ engelsystem_log("Password recovery for " . User_Nick_render($user) . " started.");
return $user['password_recovery_token'];
}