Code Duplication    Length = 2-4 lines in 3 locations

classes/PodsMeta.php 3 locations

@@ 2765-2766 (lines=2) @@
2762
                            $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2763
                    }
2764
2765
                    if ( in_array( $pod->fields[ $meta_k ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $meta_k ] ) )
2766
                        unset( $meta_cache[ '_pods_' . $meta_k ] );
2767
                }
2768
                elseif ( false !== strpos( $meta_k, '.' ) ) {
2769
                    $key_found = true;
@@ 2783-2784 (lines=2) @@
2780
                                $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2781
                        }
2782
2783
                        if ( in_array( $pod->fields[ $first ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $first ] ) )
2784
                            unset( $meta_cache[ '_pods_' . $first ] );
2785
                    }
2786
                }
2787
            }
@@ 2895-2898 (lines=4) @@
2892
2893
            $pod->row[ $meta_key ] = $meta_value;
2894
2895
            if ( isset( $pod->fields[ $key ] ) ) {
2896
                if ( in_array( $pod->fields[ $key ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $key ] ) )
2897
                    unset( $meta_cache[ '_pods_' . $key ] );
2898
            }
2899
2900
        }
2901