Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5586-5587 (lines=2) @@
5583
						'fields' => array()
5584
					);
5585
				}
5586
                elseif ( ! $bypass_cache & pods_api_cache() )
5587
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5588
5589
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5590
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5623-5624 (lines=2) @@
5620
5621
        $pod = false;
5622
5623
        if ( ! $bypass_cache || pods_api_cache() )
5624
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5625
5626
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5627
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )