From 9555ca1c73d6a6a7074a9cee721e2d2ff7888c1f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 5 Jun 2020 15:55:28 -0300 Subject: [PATCH] Bug 25638: Update TODO Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/Object.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Koha/Object.pm b/Koha/Object.pm index c6ae91e4ef..bb2a5d8ee8 100644 --- a/Koha/Object.pm +++ b/Koha/Object.pm @@ -360,8 +360,9 @@ sub TO_JSON { ) { # TODO: Remove once the solution for - # https://rt.cpan.org/Ticket/Display.html?id=119904 + # https://github.com/perl5-dbi/DBD-mysql/issues/212 # is ported to whatever distro we support by that time + # or we move to DBD::MariaDB $unblessed->{$col} += 0; } elsif ( _decimal_column_type( $columns_info->{$col}->{data_type} ) @@ -369,8 +370,9 @@ sub TO_JSON { ) { # TODO: Remove once the solution for - # https://rt.cpan.org/Ticket/Display.html?id=119904 + # https://github.com/perl5-dbi/DBD-mysql/issues/212 # is ported to whatever distro we support by that time + # or we move to DBD::MariaDB $unblessed->{$col} += 0.00; } elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) { @@ -410,8 +412,9 @@ sub _datetime_column_type { sub _numeric_column_type { # TODO: Remove once the solution for - # https://rt.cpan.org/Ticket/Display.html?id=119904 + # https://github.com/perl5-dbi/DBD-mysql/issues/212 # is ported to whatever distro we support by that time + # or we move to DBD::MariaDB my ($column_type) = @_; my @numeric_types = ( @@ -428,8 +431,9 @@ sub _numeric_column_type { sub _decimal_column_type { # TODO: Remove once the solution for - # https://rt.cpan.org/Ticket/Display.html?id=119904 + # https://github.com/perl5-dbi/DBD-mysql/issues/212 # is ported to whatever distro we support by that time + # or we move to DBD::MariaDB my ($column_type) = @_; my @decimal_types = ( -- 2.39.5