Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsForm.php 2 locations

@@ 958-959 (lines=2) @@
955
                    $display_value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
956
                }
957
            }
958
            else
959
                $value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $value, $name, $options, $pod, $id, $traverse ) );
960
        }
961
962
        return $value;
@@ 989-990 (lines=2) @@
986
                    $value[ $k ] = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
987
                }
988
            }
989
            else
990
                $value = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $value, $name, $options, $pod, $id, $traverse ) );
991
        }
992
993
        $value = apply_filters( 'pods_form_display_' . $type, $value, $name, $options, $pod, $id, $traverse );