Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsForm.php 2 locations

@@ 940-941 (lines=2) @@
937
                    $display_value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
938
                }
939
            }
940
            else
941
                $value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $value, $name, $options, $pod, $id, $traverse ) );
942
        }
943
944
        return $value;
@@ 971-972 (lines=2) @@
968
                    $value[ $k ] = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
969
                }
970
            }
971
            else
972
                $value = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $value, $name, $options, $pod, $id, $traverse ) );
973
        }
974
975
        $value = apply_filters( 'pods_form_display_' . $type, $value, $name, $options, $pod, $id, $traverse );