From ecdb504cc8b6659bf378db6a2202686cc20eac87 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 19 Jul 2002 14:55:09 +0000 Subject: [PATCH] Missing word replacements ... git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2718 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 //