Code Duplication    Length = 5-5 lines in 2 locations

classes/class-importer.php 2 locations

@@ 947-951 (lines=5) @@
944
			{
945
				$v['label']='';
946
			}
947
			if(!empty($v['description']))
948
			{
949
				$desc=wp_strip_all_tags($v['description']);
950
				$posdata=array('post_excerpt'=>$desc);
951
			}
952
			if(!empty($v['section']))
953
			{
954
				$desc=wp_strip_all_tags($v['section']);
@@ 952-956 (lines=5) @@
949
				$desc=wp_strip_all_tags($v['description']);
950
				$posdata=array('post_excerpt'=>$desc);
951
			}
952
			if(!empty($v['section']))
953
			{
954
				$desc=wp_strip_all_tags($v['section']);
955
				$posdata=array('post_excerpt'=>$desc);
956
			}
957
958
			$attachID=NULL;
959
			//Resizor - add option to setting if required