Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5511-5512 (lines=2) @@
5508
						'fields' => array()
5509
					);
5510
				}
5511
                elseif ( ! $bypass_cache & pods_api_cache() )
5512
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5513
5514
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5515
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5548-5549 (lines=2) @@
5545
5546
        $pod = false;
5547
5548
        if ( ! $bypass_cache || pods_api_cache() )
5549
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5550
5551
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5552
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )