Code Duplication    Length = 2-4 lines in 3 locations

classes/PodsMeta.php 3 locations

@@ 2646-2647 (lines=2) @@
2643
                            $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2644
                    }
2645
2646
                    if ( in_array( $pod->fields[ $meta_k ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $meta_k ] ) )
2647
                        unset( $meta_cache[ '_pods_' . $meta_k ] );
2648
                }
2649
                elseif ( false !== strpos( $meta_k, '.' ) ) {
2650
                    $key_found = true;
@@ 2664-2665 (lines=2) @@
2661
                                $meta_cache[ $meta_k ] = array( $meta_cache[ $meta_k ] );
2662
                        }
2663
2664
                        if ( in_array( $pod->fields[ $first ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $first ] ) )
2665
                            unset( $meta_cache[ '_pods_' . $first ] );
2666
                    }
2667
                }
2668
            }
@@ 2776-2779 (lines=4) @@
2773
2774
            $pod->row[ $meta_key ] = $meta_value;
2775
2776
            if ( isset( $pod->fields[ $key ] ) ) {
2777
                if ( in_array( $pod->fields[ $key ][ 'type' ], PodsForm::tableless_field_types() ) && isset( $meta_cache[ '_pods_' . $key ] ) )
2778
                    unset( $meta_cache[ '_pods_' . $key ] );
2779
            }
2780
2781
        }
2782