Code Duplication    Length = 5-5 lines in 2 locations

classes/class-importer.php 2 locations

@@ 887-891 (lines=5) @@
884
			{
885
				$v['label']='';
886
			}
887
			if(!empty($v['description']))
888
			{
889
				$desc=wp_strip_all_tags($v['description']);
890
				$posdata=array('post_excerpt'=>$desc);
891
			}
892
			if(!empty($v['section']))
893
			{
894
				$desc=wp_strip_all_tags($v['section']);
@@ 892-896 (lines=5) @@
889
				$desc=wp_strip_all_tags($v['description']);
890
				$posdata=array('post_excerpt'=>$desc);
891
			}
892
			if(!empty($v['section']))
893
			{
894
				$desc=wp_strip_all_tags($v['section']);
895
				$posdata=array('post_excerpt'=>$desc);
896
			}
897
898
			$attachID=NULL;
899
			//Resizor - add option to setting if required