]> git.koha-community.org Git - koha.git/commit
Bug 35414: Silence warn related to number_of_copies
authorMagnus Enger <magnus@libriotech.no>
Wed, 29 Nov 2023 13:58:08 +0000 (14:58 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 Dec 2023 21:16:05 +0000 (21:16 +0000)
commit171d6cc32b4793f46a43b6e1941761845faf77da
treebb469d525d4a22e85f2d96dbfcd31f0a1ce5404d
parent816330386449a679c5e2cc1b19031b2c121f7ffb
Bug 35414: Silence warn related to number_of_copies

To test in ktd:
- Tail the logs with "sudo tail -f /var/log/koha/kohadev/plack*.log"
- Find a record in the staff client
- Add an item to the record
- Observe "[WARN] Argument "" isn't numeric in subroutine entry ..."
  in /var/log/koha/kohadev/plack-intranet-error.log
- Apply this patch
- restart_all
- Tail the logs again
- Add another item
- Observe the absence of the earlier warning

Thanks to Jonathan Druart for suggesting this particular solution!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8ba9ea8a87e0d6653261d90d743cd75328ad0b99)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit aad41dd27a37ab42a6aa9606d56a031b6f67a180)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
cataloguing/additem.pl