mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Fix Bug #54375 - Show correct HTML title when reporting private messages.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10284 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
efc1f8139b
commit
a019b15746
2 changed files with 4 additions and 2 deletions
|
@ -93,7 +93,7 @@
|
|||
<li>[Fix] Force full date for board online record date.</li>
|
||||
<li>[Fix] Correctly reset login keys if passed value is the current user. (Bug #54125)</li>
|
||||
<li>[Fix] Correctly set last modified headers. (Bug #54245, thanks Paul.J.Murphy )</li>
|
||||
|
||||
<li>[Fix] Show correct HTML title when reporting private messages. (Bug #54375)</li>
|
||||
<li>[Change] Send time of last item instead of current time in ATOM Feeds. (Bug #53305)</li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -215,6 +215,8 @@ if ($submit && $reason_id)
|
|||
// Generate the reasons
|
||||
display_reasons($reason_id);
|
||||
|
||||
$page_title = ($pm_id) ? $user->lang['REPORT_MESSAGE'] : $user->lang['REPORT_POST'];
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_REPORT_POST' => ($pm_id) ? false : true,
|
||||
'REPORT_TEXT' => $report_text,
|
||||
|
@ -227,7 +229,7 @@ $template->assign_vars(array(
|
|||
generate_forum_nav($forum_data);
|
||||
|
||||
// Start output of page
|
||||
page_header($user->lang['REPORT_POST']);
|
||||
page_header($page_title);
|
||||
|
||||
$template->set_filenames(array(
|
||||
'body' => 'report_body.html')
|
||||
|
|
Loading…
Add table
Reference in a new issue