aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-03 11:26:14 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-03 11:26:14 +0000
commitdaa3288a368ddac0335dde7ee2a718883bfb2fdc (patch)
treeddca8411bb3c8fc81050ea1e654a8ea726d9c5a0 /phpBB/includes/functions_privmsgs.php
parenta3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5 (diff)
downloadforums-daa3288a368ddac0335dde7ee2a718883bfb2fdc.tar
forums-daa3288a368ddac0335dde7ee2a718883bfb2fdc.tar.gz
forums-daa3288a368ddac0335dde7ee2a718883bfb2fdc.tar.bz2
forums-daa3288a368ddac0335dde7ee2a718883bfb2fdc.tar.xz
forums-daa3288a368ddac0335dde7ee2a718883bfb2fdc.zip
- implemented the suggested html_entity_decode function made by david
- fixed string length checking by also decoding entities for the sake of checking - used the new html_entity_decode function git-svn-id: file:///svn/phpbb/trunk@6545 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 66f6d63ce1..9eefcf9174 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1598,11 +1598,11 @@ function pm_notification($mode, $author, $recipients, $subject, $message)
$messenger->im($addr['jabber'], $addr['name']);
$messenger->assign_vars(array(
- 'EMAIL_SIG' => $email_sig,
- 'SITENAME' => $config['sitename'],
- 'SUBJECT' => html_entity_decode($subject),
- 'AUTHOR_NAME' => html_entity_decode($author),
- 'USERNAME' => html_entity_decode($addr['name']),
+ 'EMAIL_SIG' => utf8_html_entity_decode($email_sig),
+ 'SITENAME' => utf8_html_entity_decode($config['sitename']),
+ 'SUBJECT' => utf8_html_entity_decode($subject),
+ 'AUTHOR_NAME' => utf8_html_entity_decode($author),
+ 'USERNAME' => utf8_html_entity_decode($addr['name']),
'U_INBOX' => generate_board_url() . "/ucp.$phpEx?i=pm&folder=inbox")
);