]> git.koha-community.org Git - koha.git/commit
Bug 27526: Correct NULL vs empty string when editing
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Oct 2021 09:11:26 +0000 (11:11 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Oct 2021 07:11:45 +0000 (09:11 +0200)
commit3376e0d2189504cea220f2eb151d949e9a0835c8
tree0c44ca7f909eca831b524db6eeab138db4244cbc
parent474f228a6986cce5e3da2425db7fbcad444c5fd0
Bug 27526: Correct NULL vs empty string when editing

When an item is edit we must keep the NULL values in DB if the input
have been left empty.
It also fixes the "barcode cannot be unique" error when an item does not
have a barcode.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/additem.pl