From 6c9cc168bae98d70153b1b589d13a7c684cd059f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Mar 2020 14:56:08 +0100 Subject: [PATCH] Bug 23463: (follow-up 2) Fix timestamp default value Removing previous change, again. But this time in Object.pm It fixes t/db_dependent/Koha/Object.t and t/db_dependent/Koha/Item.t is still passing. Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- Koha/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Object.pm b/Koha/Object.pm index 5b64e6a58d..6029217e0f 100644 --- a/Koha/Object.pm +++ b/Koha/Object.pm @@ -155,7 +155,7 @@ sub store { && $columns_info->{$col}->{datetime_undef_if_invalid} ) { # timestamp - $self->$col( $columns_info->{$col}->{default_value} ); + # $self->_result()->set_column($col => $columns_info->{$col}->{default_value}); } } } -- 2.39.5