]> git.koha-community.org Git - koha.git/commit
Bug 20176: [sql_modes] Set biblio.datecreated to NOW if not defined
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Feb 2018 18:59:09 +0000 (15:59 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Feb 2018 16:03:58 +0000 (13:03 -0300)
commit524eab678833b2719187e67128ee4f83a2a48ba4
treea5304fe605ac140b2f1f3d5a7c4c8162b4c9b3db
parentfd70cdcc31021457285c68633a50499bf4b6bfe6
Bug 20176: [sql_modes] Set biblio.datecreated to NOW if not defined

Fix at ->store level, this issue appears in lot of places.

Fix for:
Field 'datecreated' doesn't have a default value

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
t/db_dependent/Koha/Biblios.t