
Stephen Kirby - 2006-05-06 11:50:08
In function add_recipient
this line
---------
if (strlen($name) == 0) {
array_push($this->warnings,"No recipient name for " . $addy);
} else {
$build_address = (strlen($name) == 0) ? $name . " " : "";
should be
---------
if (strlen($name) == 0) {
array_push($this->warnings,"No recipient name for " . $addy);
} else {
$build_address = $name . " ";
This line
---------
if (count($this->Recipients) > 0) {
$this->Recipients .= " , " . $build_address;
should be
---------
if (count($this->Recipients) > 1) {
$this->Recipients .= " , " . $build_address;