mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Fix header list build for replying oldest PM in PM history (Bug #37275)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9072 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -424,7 +424,9 @@ function compose_pm($id, $mode, $action)
|
||||
{
|
||||
// We try to include every previously listed member from the TO Header
|
||||
$list = rebuild_header(array('to' => $post['to_address']));
|
||||
$list = $list['u'];
|
||||
|
||||
// Can be an empty array too ;)
|
||||
$list = (!empty($list['u'])) ? $list['u'] : array();
|
||||
$list[$post['author_id']] = 'to';
|
||||
|
||||
if (isset($list[$user->data['user_id']]))
|
||||
|
Reference in New Issue
Block a user