Code Duplication    Length = 6-6 lines in 2 locations

classes/class-lsx-wetu-importer.php 2 locations

@@ 1079-1084 (lines=6) @@
1076
				$v['label'] = '';
1077
			}
1078
1079
			if ( ! empty( $v['description'] ) ) {
1080
				$desc = wp_strip_all_tags( $v['description'] );
1081
				$posdata = array(
1082
					'post_excerpt' => $desc,
1083
				);
1084
			}
1085
1086
			if ( ! empty( $v['section'] ) ) {
1087
				$desc = wp_strip_all_tags( $v['section'] );
@@ 1086-1091 (lines=6) @@
1083
				);
1084
			}
1085
1086
			if ( ! empty( $v['section'] ) ) {
1087
				$desc = wp_strip_all_tags( $v['section'] );
1088
				$posdata = array(
1089
					'post_excerpt' => $desc,
1090
				);
1091
			}
1092
1093
			$attach_id = null;
1094
			//Resizor - add option to setting if required