View | Details | Raw Unified | Return to bug 37902
Collapse All | Expand All

(-)a/Koha/Object.pm (-2 / +1 lines)
Lines 851-857 sub _recursive_fixup { Link Here
851
            # Handle booleans gracefully
851
            # Handle booleans gracefully
852
            $value = ($value) ? 1 : 0;
852
            $value = ($value) ? 1 : 0;
853
        } elsif ( _date_or_datetime_column_type( $column_info->{data_type} ) ) {
853
        } elsif ( _date_or_datetime_column_type( $column_info->{data_type} ) ) {
854
            if ( defined $value ) {
854
            if ( defined $value && $value !~ m{^%|%$} ) {
855
                try {
855
                try {
856
                    my $dtf = $self->_result->result_source->storage->datetime_parser;
856
                    my $dtf = $self->_result->result_source->storage->datetime_parser;
857
                    if ( $column_info->{data_type} eq 'date' ) {
857
                    if ( $column_info->{data_type} eq 'date' ) {
858
- 

Return to bug 37902