Code Duplication    Length = 6-8 lines in 2 locations

app/fpdm/fpdm.php 2 locations

@@ 1779-1786 (lines=8) @@
1776
									$match=array();
1777
									if(($type=='')||($subtype=='')||($name=="")) {
1778
									
1779
										if(($type=='')&&$this->extract_pdf_definition_value("/Type",$CurLine,$match)) {
1780
										
1781
											if($match[1]!='Border') {
1782
												$type=$match[1];
1783
												if($verbose_parsing) echo("<br>Object's type is '<i>$type</i>'");
1784
											}
1785
											
1786
										}
1787
										if(($subtype=='')&&$this->extract_pdf_definition_value("/Subtype",$CurLine,$match)) {
1788
										
1789
											$subtype=$match[1];
@@ 1787-1792 (lines=6) @@
1784
											}
1785
											
1786
										}
1787
										if(($subtype=='')&&$this->extract_pdf_definition_value("/Subtype",$CurLine,$match)) {
1788
										
1789
											$subtype=$match[1];
1790
											if($verbose_parsing) echo("<br>Object's subType is '<i>$subtype</i>'");
1791
											
1792
										}
1793
										if(($name=="")&&preg_match("/^\/T\s?\((.+)\)\s*$/",$this->_protectContentValues($CurLine),$match)) {
1794
								
1795
											$name=$this->_unprotectContentValues($match[1]);