aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-09-27 20:02:11 +0000
committerrub <rub@piwigo.org>2009-09-27 20:02:11 +0000
commit36609cc5bebea227f931262222e7996920b505de (patch)
tree388abb3b436a643829c7d7e244e8d8964bb16ecf /include
parentf8423b0a627c0a5ce8320029fabe14570242418f (diff)
Bug 1176: Mail are not sent on Free sites
"To: undisclosed-recipients: ;" are removed git-svn-id: http://piwigo.org/svn/branches/2.0@3925 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_mail.inc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index e38ef44b6..0a68176e1 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -606,12 +606,6 @@ function pwg_mail($to, $args = array())
$headers = 'From: '.$args['from']."\n";
$headers.= 'Reply-To: '.$args['from']."\n";
- if (empty($to))
- {
- // Add only when to is empty
- // else mail() add 'To:' on header
- $headers.= 'To: undisclosed-recipients: ;'."\n";
- }
if (!empty($args['Cc']))
{