mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fix small problem with PM-ing replies to board messages
git-svn-id: file:///svn/phpbb/trunk@5281 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a052a9a8d4
commit
88b4c7ac88
1 changed files with 7 additions and 1 deletions
|
@ -81,6 +81,12 @@ function compose_pm($id, $mode, $action)
|
||||||
case 'quote':
|
case 'quote':
|
||||||
case 'forward':
|
case 'forward':
|
||||||
case 'quotepost':
|
case 'quotepost':
|
||||||
|
if ($submit)
|
||||||
|
{
|
||||||
|
// We don't need to retrieve the post text again when the user is submitting.
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (!$msg_id)
|
if (!$msg_id)
|
||||||
{
|
{
|
||||||
trigger_error('NO_MESSAGE');
|
trigger_error('NO_MESSAGE');
|
||||||
|
@ -581,7 +587,7 @@ function compose_pm($id, $mode, $action)
|
||||||
if ($action == 'quotepost')
|
if ($action == 'quotepost')
|
||||||
{
|
{
|
||||||
$post_id = request_var('p', 0);
|
$post_id = request_var('p', 0);
|
||||||
$message_link = "[url={$config['script_path']}viewtopic.$phpEx?p={$post_id}#{$post_id}]{$message_subject}[/url]\n";
|
$message_link = "[url=" . generate_board_url() . "/viewtopic.$phpEx?p={$post_id}#{$post_id}]{$message_subject}[/url]\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue