Code Duplication    Length = 5-5 lines in 2 locations

classes/class-importer.php 2 locations

@@ 937-941 (lines=5) @@
934
			{
935
				$v['label']='';
936
			}
937
			if(!empty($v['description']))
938
			{
939
				$desc=wp_strip_all_tags($v['description']);
940
				$posdata=array('post_excerpt'=>$desc);
941
			}
942
			if(!empty($v['section']))
943
			{
944
				$desc=wp_strip_all_tags($v['section']);
@@ 942-946 (lines=5) @@
939
				$desc=wp_strip_all_tags($v['description']);
940
				$posdata=array('post_excerpt'=>$desc);
941
			}
942
			if(!empty($v['section']))
943
			{
944
				$desc=wp_strip_all_tags($v['section']);
945
				$posdata=array('post_excerpt'=>$desc);
946
			}
947
948
			$attachID=NULL;
949
			//Resizor - add option to setting if required