Bug 9503 Correct name of parameter passed to parcel.pl
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 29 Jan 2013 11:56:15 +0000 (11:56 +0000)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 4 Feb 2013 12:45:57 +0000 (07:45 -0500)
commit4a9ea1c6328899a4c36c4ed6ac6f51d948f22230
treedf2449058f3eb4698aba2a6c2ad7b946cefa1536
parent59ab127b99c983155f430e3be72aa401ae41e988
Bug 9503 Correct name of parameter passed to parcel.pl

invoiceid was being passed as invoice causing GetInvoiceDetails
to silently fail and a system error downstream when
accessing the 'orders' element of the undefined invoice

Added an error message if GetInvoiceDetails called on undef

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt