[Koha-patches] [PATCH] [SIGNED-OFF] Bug #6117 : Attaching an item with a different framework modify the framework of the biblio.

Christophe Croullebois christophe.croullebois at biblibre.com
Thu Apr 7 16:58:48 CEST 2011


From: Sophie Meynieux <sophie.meynieux at biblibre.com>

With this patch, the framework of the biblio is left unchanged event if the attached item is of a different framework

Signed-off-by: Christophe Croullebois <christophe.croullebois at biblibre.com>
---
 C4/Items.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/C4/Items.pm b/C4/Items.pm
index 939e682..84ea898 100644
--- a/C4/Items.pm
+++ b/C4/Items.pm
@@ -2075,6 +2075,7 @@ sub MoveItemFromBiblio {
 	    $record->insert_fields_ordered($item);	
 
 	    # Saving the modification
+            $frameworkcode = GetFrameworkCode($tobiblio);
 	    ModBiblioMarc($record, $tobiblio, $frameworkcode);
 
 	} else {
-- 
1.7.0.4



More information about the Koha-patches mailing list