Ignore:
Timestamp:
Aug 10, 2006, 12:05:29 AM (18 years ago)
Author:
rub
Message:

Resolved Issue ID 0000507:

o format of email
o max_execution_time equal to 0
o -f with only adress mail
o use of standard function get_webmaster_mail_address

2 news $conf parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/password.php

    r1082 r1530  
    4343if (isset($_POST['submit']))
    4444{
    45   // in case of error, creation of mailto link
    46   $query = '
    47 SELECT '.$conf['user_fields']['email'].'
    48   FROM '.USERS_TABLE.'
    49   WHERE '.$conf['user_fields']['id'].' = '.$conf['webmaster_id'].'
    50 ;';
    51   list($mail_webmaster) = mysql_fetch_array(pwg_query($query));
    52 
    5345  $mailto =
    54     '<a href="mailto:'.$mail_webmaster.'">'
     46    '<a href="mailto:'.get_webmaster_mail_address().'">'
    5547    .l10n('Contact webmaster')
    5648    .'</a>'
     
    9385          ;
    9486
    95         if (pwg_mail($row['email'], $mail_webmaster, l10n('password updated'), $infos))
     87        if (pwg_mail($row['email'], '', l10n('password updated'), $infos))
    9688        {
    9789          $data =
Note: See TracChangeset for help on using the changeset viewer.