diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index c2934369a5..e6b64c5f16 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -571,6 +571,10 @@ else if ( $mode == 'read' )
$private_message .= '
_________________
' . make_clickable($user_sig);
}
+ $orig_word = array();
+ $replacement_word = array();
+ obtain_word_list($orig_word, $replacement_word);
+
if ( count($orig_word) )
{
$post_subject = preg_replace($orig_word, $replacement_word, $post_subject);
@@ -1683,6 +1687,10 @@ $template->set_filenames(array(
);
make_jumpbox('viewforum.'.$phpEx);
+$orig_word = array();
+$replacement_word = array();
+obtain_word_list($orig_word, $replacement_word);
+
//
// New message
//