1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 14:47:52 +02:00

one more tweak

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4182 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-06-27 15:01:35 +00:00
parent 77e8d09aab
commit 5a3f9d3bac

@ -199,7 +199,14 @@ class emailer
@reset($address_ary);
while (list(, $which_ary) = each($address_ary))
{
$$type .= (($$type != '') ? ',' : '') . (($which_ary['name'] != '') ? '"' . $this->encode($which_ary['name']) . '" <' . $which_ary['email'] . '>' : '<' . $which_ary['email'] . '>');
if ($type != 'to')
{
$$type .= (($$type != '') ? ',' : '') . (($which_ary['name'] != '') ? '"' . $this->encode($which_ary['name']) . '" <' . $which_ary['email'] . '>' : '<' . $which_ary['email'] . '>');
}
else
{
$$type .= (($$type != '') ? ',' : '') . $which_ary['email'];
}
}
}