aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-07 18:22:51 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-07 18:22:51 +0000
commit13b9021ae436a625aed61ba20b9d337bf585f6ba (patch)
treea8982428213fab65dd87253812359749201684a0
parente1cf8fd13c1030b0a1ee5d2e25bac48bd89e8f18 (diff)
downloadforums-13b9021ae436a625aed61ba20b9d337bf585f6ba.tar
forums-13b9021ae436a625aed61ba20b9d337bf585f6ba.tar.gz
forums-13b9021ae436a625aed61ba20b9d337bf585f6ba.tar.bz2
forums-13b9021ae436a625aed61ba20b9d337bf585f6ba.tar.xz
forums-13b9021ae436a625aed61ba20b9d337bf585f6ba.zip
correctly decode message on quotepost (#2099)
git-svn-id: file:///svn/phpbb/trunk@6020 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 61e15a467e..952f969bd6 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -181,6 +181,12 @@ function compose_pm($id, $mode, $action)
trigger_error('NO_AUTHOR');
}
+ if ($action == 'quotepost')
+ {
+ // Decode text for message display
+ decode_message($message_text, $post['bbcode_uid']);
+ }
+
if ($action != 'delete')
{
$enable_urls = $post['enable_magic_url'];