mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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:
@@ -89,6 +89,7 @@
|
|||||||
<li>[Fix] Allow mixed-case template directories to be inherited (Bug #36725)</li>
|
<li>[Fix] Allow mixed-case template directories to be inherited (Bug #36725)</li>
|
||||||
<li>[Fix] Regression bug from revision #8908 regarding log display in ACP</li>
|
<li>[Fix] Regression bug from revision #8908 regarding log display in ACP</li>
|
||||||
<li>[Fix] Allow the UCP group management to work for groups with avatars. (Bug #37375)</li>
|
<li>[Fix] Allow the UCP group management to work for groups with avatars. (Bug #37375)</li>
|
||||||
|
<li>[Fix] Fix header list build for replying oldest PM in PM history (Bug #37275)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v302"></a><h3>1.ii. Changes since 3.0.2</h3>
|
<a name="v302"></a><h3>1.ii. Changes since 3.0.2</h3>
|
||||||
|
@@ -424,7 +424,9 @@ function compose_pm($id, $mode, $action)
|
|||||||
{
|
{
|
||||||
// We try to include every previously listed member from the TO Header
|
// We try to include every previously listed member from the TO Header
|
||||||
$list = rebuild_header(array('to' => $post['to_address']));
|
$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';
|
$list[$post['author_id']] = 'to';
|
||||||
|
|
||||||
if (isset($list[$user->data['user_id']]))
|
if (isset($list[$user->data['user_id']]))
|
||||||
|
Reference in New Issue
Block a user