Code Duplication    Length = 2-2 lines in 2 locations

Sources/Post.php 2 locations

@@ 992-993 (lines=2) @@
989
				if (isset($context['ignore_temp_attachments']) || isset($_SESSION['temp_attachments']['post']['files']))
990
					break;
991
992
				if ($attachID != 'initial_error' && strpos($attachID, 'post_tmp_' . $user_info['id']) === false)
993
					continue;
994
995
				if ($attachID == 'initial_error')
996
				{
@@ 1899-1900 (lines=2) @@
1896
1897
		foreach ($_SESSION['temp_attachments'] as  $attachID => $attachment)
1898
		{
1899
			if ($attachID != 'initial_error' && strpos($attachID, 'post_tmp_' . $user_info['id']) === false)
1900
				continue;
1901
1902
			// If there was an initial error just show that message.
1903
			if ($attachID == 'initial_error')