Code Duplication    Length = 2-2 lines in 2 locations

Sources/Post.php 2 locations

@@ 989-990 (lines=2) @@
986
				if (isset($context['ignore_temp_attachments']) || isset($_SESSION['temp_attachments']['post']['files']))
987
					break;
988
989
				if ($attachID != 'initial_error' && strpos($attachID, 'post_tmp_' . $user_info['id']) === false)
990
					continue;
991
992
				if ($attachID == 'initial_error')
993
				{
@@ 1933-1934 (lines=2) @@
1930
1931
		foreach ($_SESSION['temp_attachments'] as  $attachID => $attachment)
1932
		{
1933
			if ($attachID != 'initial_error' && strpos($attachID, 'post_tmp_' . $user_info['id']) === false)
1934
				continue;
1935
1936
			// If there was an initial error just show that message.
1937
			if ($attachID == 'initial_error')