From 60dd25b5c230249581a9736458aad4bad783dd52 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 3 Feb 2011 18:01:19 -0500 Subject: [PATCH] Bug 5690 MT3947: items.timestamp were not updated on edition If items.timestamp is used in the framework and hidden the fact that it is NOT deleted before update is done would input the previous timestamp, which is not the desired behaviour. Signed-off-by: Chris Nighswonger Signed-off-by: Chris Cormack --- C4/Items.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/Items.pm b/C4/Items.pm index 4ab385cc63..c0d8701020 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1779,6 +1779,9 @@ sub _do_column_fixes_for_mod { if (exists $item->{'location'} && !exists $item->{'permanent_location'}) { $item->{'permanent_location'} = $item->{'location'}; } + if (exists $item->{'timestamp'}) { + delete $item->{'timestamp'}; + } } =head2 _get_single_item_column -- 2.39.5