Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5503-5504 (lines=2) @@
5500
						'fields' => array()
5501
					);
5502
				}
5503
                elseif ( ! $bypass_cache & pods_api_cache() )
5504
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5505
5506
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5507
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5540-5541 (lines=2) @@
5537
5538
        $pod = false;
5539
5540
        if ( ! $bypass_cache || pods_api_cache() )
5541
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5542
5543
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5544
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )