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

(-)a/Koha/Object.pm (-1 / +9 lines)
Lines 353-358 sub TO_JSON { Link Here
353
                ? Mojo::JSON->true
353
                ? Mojo::JSON->true
354
                : Mojo::JSON->false;
354
                : Mojo::JSON->false;
355
        }
355
        }
356
        elsif ( _numeric_column_type( $columns_info->{$col}->{data_type} )
357
            and looks_like_number( $unblessed->{$col} )
358
        ) {
359
360
            # TODO: Remove once the solution for
361
            # https://rt.cpan.org/Ticket/Display.html?id=119904
362
            # is ported to whatever distro we support by that time
363
            $unblessed->{$col} += 0;
364
        }
356
        elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) {
365
        elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) {
357
            eval {
366
            eval {
358
                return unless $unblessed->{$col};
367
                return unless $unblessed->{$col};
359
- 

Return to bug 25638