Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1878-1879 (lines=2) @@
1875
                    $value = pods_var( $field, 'post', '' );
1876
            }
1877
1878
            if ( isset( $attributes[ 'custom_save' ] ) && false !== $attributes[ 'custom_save' ] && is_callable( $attributes[ 'custom_save' ] ) )
1879
                $value = call_user_func_array( $attributes[ 'custom_save' ], array( $value, $field, $attributes, &$this ) );
1880
1881
            $field_sql[] = "`$field`=$vartype";
1882
            $values[] = $value;
@@ 4048-4049 (lines=2) @@
4045
4046
        $value = $this->get_field( $field_name );
4047
4048
        if ( isset( $tag[ 1 ] ) && !empty( $tag[ 1 ] ) && is_callable( $tag[ 1 ] ) )
4049
            $value = call_user_func_array( $tag[ 1 ], array( $value, $field_name, $this->row, &$this ) );
4050
4051
        $before = $after = '';
4052