Bug 10088: FIX adding an order from a staged file.
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 25 Apr 2013 07:47:53 +0000 (09:47 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 27 Apr 2013 12:23:31 +0000 (08:23 -0400)
commitf2e44716f60578b9663862d7b2ba3b16f7067143
treee2244cebb940933129ad621bbe583d16d27b61a3
parent5c529f2339a3033c26f20890e18ab2284357c6a1
Bug 10088: FIX adding an order from a staged file.

Bug 9902 introduced an issue in the C4::Items::PrepareItemrecordDisplay
routine. The existence of $defaulvalue hashref should be tested before
getting to the branchcode key.

Test plan:
Before applying the patch, an error occurred when you try to create an
order from a staged file.
After applying the patch, the error does not appear anymore.

Signed-off-by: Mathieu Saby <mathieu.saby@univ-rennes2.fr>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Items.pm