Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsForm.php 2 locations

@@ 931-932 (lines=2) @@
928
                    $display_value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
929
                }
930
            }
931
            else
932
                $value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $value, $name, $options, $pod, $id, $traverse ) );
933
        }
934
935
        return $value;
@@ 962-963 (lines=2) @@
959
                    $value[ $k ] = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
960
                }
961
            }
962
            else
963
                $value = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $value, $name, $options, $pod, $id, $traverse ) );
964
        }
965
966
        $value = apply_filters( 'pods_form_display_' . $type, $value, $name, $options, $pod, $id, $traverse );