diff options
author | Andrea Scarpino <andrea@archlinux.org> | 2010-03-10 18:03:51 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-03-30 02:20:40 +0200 |
commit | 74f22eeb2a79daeec7d765dda1befd1a6baa1554 (patch) | |
tree | 224d58eeb1557797617df0537b4296fe3456322b /web/lib | |
parent | 13cd9591be79234ea117150af7c457b3ef1978eb (diff) | |
download | aur-74f22eeb2a79daeec7d765dda1befd1a6baa1554.tar.gz aur-74f22eeb2a79daeec7d765dda1befd1a6baa1554.tar.xz |
remove empty To field (FS#17584)
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 60f7d89e..ed019414 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -623,8 +623,8 @@ function pkg_flag ($atype, $ids, $action = True) { # construct email $body = "Your package " . $row['Name'] . " has been flagged out of date by " . $f_name . " [1]. You may view your package at:\nhttp://aur.archlinux.org/packages.php?ID=" . $row['ID'] . "\n\n[1] - http://aur.archlinux.org/account.php?Action=AccountInfo&ID=" . $f_uid; $body = wordwrap($body, 70); - $headers = "To: ".$row['Email']."\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR\n"; - @mail(' ', "AUR Out-of-date Notification for ".$row['Name'], $body, $headers); + $headers = "Reply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR\n"; + @mail($row['Email'], "AUR Out-of-date Notification for ".$row['Name'], $body, $headers); } } } |