Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsForm.php 2 locations

@@ 952-953 (lines=2) @@
949
                    $display_value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
950
                }
951
            }
952
            else
953
                $value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $value, $name, $options, $pod, $id, $traverse ) );
954
        }
955
956
        return $value;
@@ 983-984 (lines=2) @@
980
                    $value[ $k ] = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
981
                }
982
            }
983
            else
984
                $value = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $value, $name, $options, $pod, $id, $traverse ) );
985
        }
986
987
        $value = apply_filters( 'pods_form_display_' . $type, $value, $name, $options, $pod, $id, $traverse );