Browse Source

! need to sensor the preview message, even when there is no subject

Spuds 12 years ago
parent
commit
247715872b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Post.php

+ 2 - 2
Sources/Post.php

@@ -545,13 +545,13 @@ function Post()
 
 			// Do all bulletin board code tags, with or without smileys.
 			$context['preview_message'] = parse_bbc($context['preview_message'], isset($_REQUEST['ns']) ? 0 : 1);
-
+			censorText($context['preview_message']);
+			
 			if ($form_subject != '')
 			{
 				$context['preview_subject'] = $form_subject;
 
 				censorText($context['preview_subject']);
-				censorText($context['preview_message']);
 			}
 			else
 				$context['preview_subject'] = '<em>' . $txt['no_subject'] . '</em>';