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:38 +0000 (08:23 -0400)
commita8ee942442d42e7ae4f42567eba22f33725188a5
tree0aa96d3235c0aa834dab482c7f93490b297e45ce
parent59ce0cd4a6863770e1cc6b956512e5698f94e06b
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>
(cherry picked from commit f2e44716f60578b9663862d7b2ba3b16f7067143)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Items.pm