Code Duplication    Length = 5-5 lines in 2 locations

classes/class-accommodation.php 2 locations

@@ 1144-1148 (lines=5) @@
1141
	        {
1142
	            $v['label']='';
1143
	        }
1144
	        if(!empty($v['description']))
1145
	        {
1146
	            $desc=wp_strip_all_tags($v['description']);
1147
	            $posdata=array('post_excerpt'=>$desc);
1148
	        }
1149
	        if(!empty($v['section']))
1150
	        {
1151
	            $desc=wp_strip_all_tags($v['section']);
@@ 1149-1153 (lines=5) @@
1146
	            $desc=wp_strip_all_tags($v['description']);
1147
	            $posdata=array('post_excerpt'=>$desc);
1148
	        }
1149
	        if(!empty($v['section']))
1150
	        {
1151
	            $desc=wp_strip_all_tags($v['section']);
1152
	            $posdata=array('post_excerpt'=>$desc);
1153
	        }
1154
1155
	        $attachID=NULL;  
1156
	        //Resizor - add option to setting if required