Code Duplication    Length = 5-5 lines in 2 locations

classes/class-importer.php 2 locations

@@ 917-921 (lines=5) @@
914
			{
915
				$v['label']='';
916
			}
917
			if(!empty($v['description']))
918
			{
919
				$desc=wp_strip_all_tags($v['description']);
920
				$posdata=array('post_excerpt'=>$desc);
921
			}
922
			if(!empty($v['section']))
923
			{
924
				$desc=wp_strip_all_tags($v['section']);
@@ 922-926 (lines=5) @@
919
				$desc=wp_strip_all_tags($v['description']);
920
				$posdata=array('post_excerpt'=>$desc);
921
			}
922
			if(!empty($v['section']))
923
			{
924
				$desc=wp_strip_all_tags($v['section']);
925
				$posdata=array('post_excerpt'=>$desc);
926
			}
927
928
			$attachID=NULL;
929
			//Resizor - add option to setting if required