Code Duplication    Length = 2-4 lines in 3 locations

classes/PodsMeta.php 3 locations

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