Code Duplication    Length = 5-5 lines in 2 locations

classes/class-importer.php 2 locations

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