]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Aug 2019 08:07:38 +0000 (09:07 +0100)
commit144e753da65cafa3c4291eec701222784ec0893f
tree26327b3dfcd38f30e823c5143c0405b13ae28da2
parent0a0a8d874d9a46b0c53b9ce4691e36f5dc04e68e
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>
admin/marc_subfields_structure.pl