mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +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:
@@ -198,9 +198,16 @@ class emailer
|
||||
{
|
||||
@reset($address_ary);
|
||||
while (list(, $which_ary) = each($address_ary))
|
||||
{
|
||||
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'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Build header
|
||||
|
Reference in New Issue
Block a user