Code Duplication    Length = 2-4 lines in 3 locations

classes/PodsMeta.php 3 locations

@@ 2689-2690 (lines=2) @@
2686
                            $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2687
                    }
2688
2689
                    if ( in_array( $pod->fields[ $meta_k ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $meta_k ] ) )
2690
                        unset( $meta_cache[ '_pods_' . $meta_k ] );
2691
                }
2692
                elseif ( false !== strpos( $meta_k, '.' ) ) {
2693
                    $key_found = true;
@@ 2707-2708 (lines=2) @@
2704
                                $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2705
                        }
2706
2707
                        if ( in_array( $pod->fields[ $first ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $first ] ) )
2708
                            unset( $meta_cache[ '_pods_' . $first ] );
2709
                    }
2710
                }
2711
            }
@@ 2819-2822 (lines=4) @@
2816
2817
            $pod->row[ $meta_key ] = $meta_value;
2818
2819
            if ( isset( $pod->fields[ $key ] ) ) {
2820
                if ( in_array( $pod->fields[ $key ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $key ] ) )
2821
                    unset( $meta_cache[ '_pods_' . $key ] );
2822
            }
2823
2824
        }
2825