Code Duplication    Length = 2-2 lines in 2 locations

Sources/PersonalMessage.php 1 location

@@ 1835-1836 (lines=2) @@
1832
			cache_put_data('response_prefix', $context['response_prefix'], 600);
1833
		}
1834
		$form_subject = $row_quoted['subject'];
1835
		if ($context['reply'] && trim($context['response_prefix']) != '' && $smcFunc['strpos']($form_subject, trim($context['response_prefix'])) !== 0)
1836
			$form_subject = $context['response_prefix'] . $form_subject;
1837
1838
		if (isset($_REQUEST['quote']))
1839
		{

Sources/Post.php 1 location

@@ 882-883 (lines=2) @@
879
			$form_subject = $first_subject;
880
881
			// Add 'Re: ' to the front of the subject.
882
			if (trim($context['response_prefix']) != '' && $form_subject != '' && $smcFunc['strpos']($form_subject, trim($context['response_prefix'])) !== 0)
883
				$form_subject = $context['response_prefix'] . $form_subject;
884
885
			// Censor the subject.
886
			censorText($form_subject);