Bug 17736: [QA Follow-up] Crashes in basket.pl and parcel.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 6 Jan 2017 11:21:56 +0000 (12:21 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 12:04:12 +0000 (12:04 +0000)
commit703b97f22d62ac7d25981a0449196fbe5b90aec1
tree0e4d18a84aa1b4595c6ed2bbf26bb97d70ebb279
parente1dce7dd5b1d62671d8d59055f832fcae1a26260
Bug 17736: [QA Follow-up] Crashes in basket.pl and parcel.pl

Crash in basket.pl:
Can't call method "holds" on an undefined value at /usr/share/koha/masterclone/acqui/basket.pl line 466.
Comes from a biblionumber == NULL in aqorders where I cancelled the order and deleted the biblio.

Crash in parcel.pl:
Can't call method "holds" on an undefined value at /usr/share/koha/masterclone/acqui/parcel.pl line 246.
Similar fix.

Trivial fixes indeed.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
acqui/parcel.pl