projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed excel report redirection (regresion after customer selector in reports improvem...
[fa-stable.git]
/
reporting
/
includes
/
class.mail.inc
diff --git
a/reporting/includes/class.mail.inc
b/reporting/includes/class.mail.inc
index e5e0e67bcbb88ecf5c119f13a0830d95a09a0442..778815534f01e83144c488434b8af765e21832a0 100644
(file)
--- a/
reporting/includes/class.mail.inc
+++ b/
reporting/includes/class.mail.inc
@@
-151,9
+151,11
@@
class email
}
$this->body .= "--".$this->boundary."--\n";
}
$this->body .= "--".$this->boundary."--\n";
+ $ret = 0;
foreach($this->to as $mail)
{
foreach($this->to as $mail)
{
- $ret = mail($mail, $this->subject, $this->body, $this->header);
+ if (mail($mail, $this->subject, $this->body, $this->header))
+ $ret++;
}
return $ret;
}
}
return $ret;
}