]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
Huge rewrite:
[mailer.git] / inc / libs / user_functions.php
index 08c90e20bfa1c745e09636aa106e697813d6261e..748d68db59ac9a9ce06376e1f49098f460efdd02 100644 (file)
@@ -435,10 +435,10 @@ function USER_DO_NEW_PASSWORD ($email, $uid) {
                                array(generateHash($NEW_PASS), $uid), __FUNCTION__, __LINE__);
 
                        // Prepare data and message for email
-                       $msg = LOAD_EMAIL_TEMPLATE('new-pass', array('new_pass' => $NEW_PASS), $uid);
+                       $message = LOAD_EMAIL_TEMPLATE('new-pass', array('new_pass' => $NEW_PASS), $uid);
 
                        // ... and send it away
-                       sendEmail($uid, getMessage('GUEST_NEW_PASSWORD'), $msg);
+                       sendEmail($uid, getMessage('GUEST_NEW_PASSWORD'), $message);
 
                        // Output note to user
                        LOAD_TEMPLATE('admin_settings_saved', false, getMessage('GUEST_NEW_PASSWORD_SEND'));