From ded59d675e1ec910ef56bdc601ad9f360d8daa4b Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Wed, 18 Jun 2014 18:31:13 +0300 Subject: [PATCH] Bug 7817 - Items Permanent location (shelving location) is set to NULL when item is edited A quick fix to prevent more damages. No perceived side-effects so far. --- C4/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Items.pm b/C4/Items.pm index 12dce85..f2f6d05 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -459,7 +459,7 @@ my %default_values_for_mod_from_marc = ( itemnotes => undef, itype => undef, location => undef, - permanent_location => undef, +# permanent_location => undef, #HACKMAN HERE! This fix prevents items.permanent_location from becoming NULL when editing an item. materials => undef, notforloan => 0, paidfor => undef, -- 1.8.1.2