bug 5579: remove a now-unecessary vestigal variable
authorGalen Charlton <gmcharlt@gmail.com>
Wed, 20 Apr 2011 21:34:46 +0000 (17:34 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 20 Apr 2011 22:05:00 +0000 (10:05 +1200)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Biblio.pm

index 76e4fce..9c7ec84 100755 (executable)
@@ -306,7 +306,6 @@ sub ModBiblio {
 
     # get the items before and append them to the biblio before updating the record, atm we just have the biblio
     my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber", $frameworkcode );
-    my $oldRecord = GetMarcBiblio($biblionumber);
 
     # delete any item fields from incoming record to avoid
     # duplication or incorrect data - use AddItem() or ModItem()