From e097dba6a6a7220b0a109672bc68d32c4d70217c Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 9 Aug 2006 22:10:12 +0000 Subject: 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. Merge branch-1_6 r1529:1530 into BSF git-svn-id: http://piwigo.org/svn/trunk@1531 68402e56-0260-453c-a942-63ccdbb3a9ee --- password.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'password.php') diff --git a/password.php b/password.php index 942540253..ea470da27 100644 --- a/password.php +++ b/password.php @@ -42,16 +42,8 @@ $page['infos'] = array(); if (isset($_POST['submit'])) { - // in case of error, creation of mailto link - $query = ' -SELECT '.$conf['user_fields']['email'].' - FROM '.USERS_TABLE.' - WHERE '.$conf['user_fields']['id'].' = '.$conf['webmaster_id'].' -;'; - list($mail_webmaster) = mysql_fetch_array(pwg_query($query)); - $mailto = - '' + '' .l10n('Contact webmaster') .'' ; @@ -92,7 +84,7 @@ WHERE ' ."\n".l10n('Password').': '.$new_password ; - if (pwg_mail($row['email'], $mail_webmaster, l10n('password updated'), $infos)) + if (pwg_mail($row['email'], '', l10n('password updated'), $infos)) { $data = array( -- cgit v1.2.3