]> git.koha-community.org Git - koha.git/commit
Bug 23309: Use Koha::MarcSubfieldStructures to create to subfields
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Aug 2019 01:16:00 +0000 (20:16 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Sep 2019 14:32:44 +0000 (16:32 +0200)
commit611bea77ec1c125dbfce5c4b40681fcc6fab9520
tree2aa0d6dea873ef00404694e32dc05fa8edd6c05a
parentaaa522c685bf40664561bb928d2c88f630f256d1
Bug 23309: Use Koha::MarcSubfieldStructures to create to subfields

It will fix the insert of new subfields with SQL strict modes

DBD::mysql::st execute failed: Incorrect integer value: '' for column
'hidden' at row 1 [for Statement "

Test plan:
- Turn the config strict_sql_modes ON
- Add a new subfield to a field

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 144e753da65cafa3c4291eec701222784ec0893f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
admin/marc_subfields_structure.pl