mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
77e8d09aab
commit
5a3f9d3bac
1 changed files with 8 additions and 1 deletions
|
@ -199,7 +199,14 @@ class emailer
|
||||||
@reset($address_ary);
|
@reset($address_ary);
|
||||||
while (list(, $which_ary) = each($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'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue