Code Duplication    Length = 7-7 lines in 2 locations

includes/general.php 2 locations

@@ 755-761 (lines=7) @@
752
				$params[ 'orderby' ] = $tags[ 'orderby' ];
753
			}
754
755
			if ( 0 < strlen( $tags[ 'where' ] ) ) {
756
				$params[ 'where' ] = $tags[ 'where' ];
757
758
				if ( defined( 'PODS_SHORTCODE_ALLOW_EVALUATE_TAGS' ) && PODS_SHORTCODE_ALLOW_EVALUATE_TAGS ) {
759
					$params[ 'where' ] = pods_evaluate_tags( $params[ 'where' ] );
760
				}
761
			}
762
763
			if ( 0 < strlen( $tags[ 'having' ] ) ) {
764
				$params[ 'having' ] = $tags[ 'having' ];
@@ 763-769 (lines=7) @@
760
				}
761
			}
762
763
			if ( 0 < strlen( $tags[ 'having' ] ) ) {
764
				$params[ 'having' ] = $tags[ 'having' ];
765
766
				if ( defined( 'PODS_SHORTCODE_ALLOW_EVALUATE_TAGS' ) && PODS_SHORTCODE_ALLOW_EVALUATE_TAGS ) {
767
					$params[ 'having' ] = pods_evaluate_tags( $id );
768
				}
769
			}
770
771
			if ( 0 < strlen( $tags[ 'groupby' ] ) ) {
772
				$params[ 'groupby' ] = $tags[ 'groupby' ];