Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 1864-1865 (lines=2) @@
1861
                    $value = pods_var( $field, 'post', '' );
1862
            }
1863
1864
            if ( isset( $attributes[ 'custom_save' ] ) && false !== $attributes[ 'custom_save' ] && is_callable( $attributes[ 'custom_save' ] ) )
1865
                $value = call_user_func_array( $attributes[ 'custom_save' ], array( $value, $field, $attributes, &$this ) );
1866
1867
            $field_sql[] = "`$field`=$vartype";
1868
            $values[] = $value;
@@ 4128-4129 (lines=2) @@
4125
4126
        $value = $this->get_field( $field_name );
4127
4128
        if ( isset( $tag[ 1 ] ) && !empty( $tag[ 1 ] ) && is_callable( $tag[ 1 ] ) )
4129
            $value = call_user_func_array( $tag[ 1 ], array( $value, $field_name, $this->row, &$this ) );
4130
4131
        $before = $after = '';
4132