From af8d33bf95031a05f6cb402a34246c1e3799bfea Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Apr 2020 14:30:54 +0200 Subject: [PATCH] Bug 24161: DBIC manual changes No idea what's happening with the current_timestamp, but previous change was wrong. --- Koha/Schema/Result/Aqorder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm index f036b05fb6..daf6f3c253 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -359,7 +359,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => "current_timestamp()", + default_value => \"current_timestamp", is_nullable => 0, }, "rrp", -- 2.20.1