Bug 13530: Typo in bulkmarcimport
authorMorag Hills <the.invinnysible.one@gmail.com>
Tue, 13 Jan 2015 03:24:36 +0000 (03:24 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 14 Jan 2015 13:28:30 +0000 (10:28 -0300)
GetFrameworkCode was incorrectly spelt as GetFrameworkcode on line 401.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
misc/migration_tools/bulkmarcimport.pl

index 61ece6c..9fd4148 100755 (executable)
@@ -398,7 +398,7 @@ RECORD: while (  ) {
             if ($biblionumber) {
                 eval{$biblioitemnumber=GetBiblioData($biblionumber)->{biblioitemnumber};};
                 if ($update) {
-                    eval { ( $biblionumber, $biblioitemnumber ) = ModBiblio( $record, $biblionumber, GetFrameworkcode($biblionumber) ) };
+                    eval { ( $biblionumber, $biblioitemnumber ) = ModBiblio( $record, $biblionumber, GetFrameworkCode($biblionumber) ) };
                     if ($@) {
                         warn "ERROR: Edit biblio $biblionumber failed: $@\n";
                         printlog( { id => $id || $originalid || $biblionumber, op => "update", status => "ERROR" } ) if ($logfile);