Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

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