From: Roland Häder Date: Tue, 3 Nov 2009 17:02:21 +0000 (+0000) Subject: Array element fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15b8b078e6a74ddd57f2cf77a9e525b7fa5d7480;p=mailer.git Array element fixed --- 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?