aboutsummaryrefslogtreecommitdiffstats
path: root/password.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-02-12 23:21:23 +0000
committerrub <rub@piwigo.org>2007-02-12 23:21:23 +0000
commit9ceec74971f85022ad61699dc209d7044945b149 (patch)
tree4372d31f0ab0540c4a877cd70a1d8a4068f21657 /password.php
parent62c1993adcfc257d98e47dc7efa8633209dbac3b (diff)
When not template are selected for mail, PWG uses default template..
Sent multi-part message in MIME format. (With only one part for the moment). Improvement pwg_mail function. git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'password.php')
-rw-r--r--password.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/password.php b/password.php
index ea470da27..9d3833447 100644
--- a/password.php
+++ b/password.php
@@ -84,7 +84,8 @@ WHERE '
."\n".l10n('Password').': '.$new_password
;
- if (pwg_mail($row['email'], '', l10n('password updated'), $infos))
+ if (pwg_mail($row['email'],
+ array('subject' => l10n('password updated'), 'content' => $infos)))
{
$data =
array(