Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsForm.php 2 locations

@@ 937-938 (lines=2) @@
934
                    $display_value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
935
                }
936
            }
937
            else
938
                $value = call_user_func_array( array( self::$loaded[ $type ], 'value' ), array( $value, $name, $options, $pod, $id, $traverse ) );
939
        }
940
941
        return $value;
@@ 968-969 (lines=2) @@
965
                    $value[ $k ] = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $display_value, $name, $options, $pod, $id, $traverse ) );
966
                }
967
            }
968
            else
969
                $value = call_user_func_array( array( self::$loaded[ $type ], 'display' ), array( $value, $name, $options, $pod, $id, $traverse ) );
970
        }
971
972
        $value = apply_filters( 'pods_form_display_' . $type, $value, $name, $options, $pod, $id, $traverse );