Code Duplication    Length = 2-2 lines in 4 locations

classes/helpers/FrmListHelper.php 4 locations

@@ 315-316 (lines=2) @@
312
313
		$input_id = $input_id . '-search-input';
314
315
		if ( ! empty( $_REQUEST['orderby'] ) )
316
			echo '<input type="hidden" name="orderby" value="' . esc_attr( $_REQUEST['orderby'] ) . '" />';
317
		if ( ! empty( $_REQUEST['order'] ) )
318
			echo '<input type="hidden" name="order" value="' . esc_attr( $_REQUEST['order'] ) . '" />';
319
		if ( ! empty( $_REQUEST['post_mime_type'] ) )
@@ 317-318 (lines=2) @@
314
315
		if ( ! empty( $_REQUEST['orderby'] ) )
316
			echo '<input type="hidden" name="orderby" value="' . esc_attr( $_REQUEST['orderby'] ) . '" />';
317
		if ( ! empty( $_REQUEST['order'] ) )
318
			echo '<input type="hidden" name="order" value="' . esc_attr( $_REQUEST['order'] ) . '" />';
319
		if ( ! empty( $_REQUEST['post_mime_type'] ) )
320
			echo '<input type="hidden" name="post_mime_type" value="' . esc_attr( $_REQUEST['post_mime_type'] ) . '" />';
321
		if ( ! empty( $_REQUEST['detached'] ) )
@@ 319-320 (lines=2) @@
316
			echo '<input type="hidden" name="orderby" value="' . esc_attr( $_REQUEST['orderby'] ) . '" />';
317
		if ( ! empty( $_REQUEST['order'] ) )
318
			echo '<input type="hidden" name="order" value="' . esc_attr( $_REQUEST['order'] ) . '" />';
319
		if ( ! empty( $_REQUEST['post_mime_type'] ) )
320
			echo '<input type="hidden" name="post_mime_type" value="' . esc_attr( $_REQUEST['post_mime_type'] ) . '" />';
321
		if ( ! empty( $_REQUEST['detached'] ) )
322
			echo '<input type="hidden" name="detached" value="' . esc_attr( $_REQUEST['detached'] ) . '" />';
323
?>
@@ 321-322 (lines=2) @@
318
			echo '<input type="hidden" name="order" value="' . esc_attr( $_REQUEST['order'] ) . '" />';
319
		if ( ! empty( $_REQUEST['post_mime_type'] ) )
320
			echo '<input type="hidden" name="post_mime_type" value="' . esc_attr( $_REQUEST['post_mime_type'] ) . '" />';
321
		if ( ! empty( $_REQUEST['detached'] ) )
322
			echo '<input type="hidden" name="detached" value="' . esc_attr( $_REQUEST['detached'] ) . '" />';
323
?>
324
<p class="search-box">
325
	<label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>