]> git.koha-community.org Git - koha.git/commit
Bug 32417: Allow NULL in biblionumber in $order->store
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 7 Dec 2022 13:27:02 +0000 (13:27 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 13 Dec 2022 12:14:13 +0000 (09:14 -0300)
commitd9186728919a1a41d56c4c8686e0197c746f7fa1
tree04a5d0b0308b6633cde2a8741d2dff0bacf56278
parentd7c1d52051a3cb5f6ae3be9abb0e9e7aa1f9ece5
Bug 32417: Allow NULL in biblionumber in $order->store

If we are cancelling an order and call DelBiblio, we should
clear the biblionumber but not be crashing on it in ->store.

The absence of the clear prevented the crash. One bug sometimes
solves another one.

Test plan:
Create basket, order line.
Delete order with biblio record.
Verify result and logfile.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Acquisition/Order.pm