From 15b8b078e6a74ddd57f2cf77a9e525b7fa5d7480 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 3 Nov 2009 17:02:21 +0000 Subject: [PATCH] Array element fixed --- inc/libs/user_functions.php | 2 +- inc/modules/admin/what-lock_user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index d343e5269a..f1ff8fe10b 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -450,7 +450,7 @@ function doNewUserPassword ($email, $userid) { array(generateHash($NEW_PASS), $userid), __FUNCTION__, __LINE__); // Prepare data and message for email - $message = loadEmailTemplate('new-pass', array('new_pass' => $NEW_PASS), $userid); + $message = loadEmailTemplate('new-pass', array('new_pass' => $NEW_PASS, 'nickname' => $userid), $userid); // ... and send it away sendEmail($userid, getMessage('GUEST_NEW_PASSWORD'), $message); diff --git a/inc/modules/admin/what-lock_user.php b/inc/modules/admin/what-lock_user.php index bf998d8863..f986bd30e8 100644 --- a/inc/modules/admin/what-lock_user.php +++ b/inc/modules/admin/what-lock_user.php @@ -138,7 +138,7 @@ LIMIT 1", // @TODO Rewrite these all constants $content['email'] = generateEmailLink($DATA['email'], 'user_data'); $content['surname'] = $DATA['surname']; - $content['fname'] = $DATA['family']; + $content['family'] = $DATA['family']; $content['userid'] = bigintval(getRequestElement('userid')); // Realy want to lock? -- 2.39.5