Changeset 329

Show
Ignore:
Timestamp:
2009-07-05 15:08:11 (3 years ago)
Author:
hannes
Message:

variable name confusion

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/misc/Member.php

    r322 r329  
    814814     *              $email     - new user's mail address 
    815815     *              $auth_code - authentication code entered 
    816      *              $sendmail  - send the owner of the new account a mail? 
     816     *              $mail  - send the owner of the new account a mail? 
    817817     * Returns:     Array(TRUE|FALSE, success or failure message) 
    818818     **/ 
     
    917917                    $q->execute(); 
    918918                    $q = NULL; 
    919                     if ($sendmail) { 
     919                    if ($mail) { 
    920920                        // send e-mail 
    921921                        @mail($email, $SETTINGS['forumname'] . ' - ' . $LANG['Registration'], str_replace('%password%', $p->get(), $LANG['welcome_mail']), 'From: ' . $SETTINGS['forumadminemail'] . "\nContent-Type: text/plain; charset=" . $SETTINGS['encoding'] . "\nMIME-Version: 1.0");