Code Duplication    Length = 2-4 lines in 3 locations

classes/PodsMeta.php 3 locations

@@ 2652-2653 (lines=2) @@
2649
                            $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2650
                    }
2651
2652
                    if ( in_array( $pod->fields[ $meta_k ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $meta_k ] ) )
2653
                        unset( $meta_cache[ '_pods_' . $meta_k ] );
2654
                }
2655
                elseif ( false !== strpos( $meta_k, '.' ) ) {
2656
                    $key_found = true;
@@ 2670-2671 (lines=2) @@
2667
                                $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2668
                        }
2669
2670
                        if ( in_array( $pod->fields[ $first ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $first ] ) )
2671
                            unset( $meta_cache[ '_pods_' . $first ] );
2672
                    }
2673
                }
2674
            }
@@ 2782-2785 (lines=4) @@
2779
2780
            $pod->row[ $meta_key ] = $meta_value;
2781
2782
            if ( isset( $pod->fields[ $key ] ) ) {
2783
                if ( in_array( $pod->fields[ $key ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $key ] ) )
2784
                    unset( $meta_cache[ '_pods_' . $key ] );
2785
            }
2786
2787
        }
2788