Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1884-1885 (lines=2) @@
1881
                    $value = pods_var( $field, 'post', '' );
1882
            }
1883
1884
            if ( isset( $attributes[ 'custom_save' ] ) && false !== $attributes[ 'custom_save' ] && is_callable( $attributes[ 'custom_save' ] ) )
1885
                $value = call_user_func_array( $attributes[ 'custom_save' ], array( $value, $field, $attributes, &$this ) );
1886
1887
            $field_sql[] = "`$field`=$vartype";
1888
            $values[] = $value;
@@ 4148-4149 (lines=2) @@
4145
4146
        $value = $this->get_field( $field_name );
4147
4148
        if ( isset( $tag[ 1 ] ) && !empty( $tag[ 1 ] ) && is_callable( $tag[ 1 ] ) )
4149
            $value = call_user_func_array( $tag[ 1 ], array( $value, $field_name, $this->row, &$this ) );
4150
4151
        $before = $after = '';
4152