Bug 3700 Parameters passed in wrong sequence
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 9 Oct 2009 11:23:54 +0000 (12:23 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 9 Feb 2010 02:34:28 +0000 (21:34 -0500)
As subsequent operations don't get what they expect
all manner of nastiness ensues

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
serials/serials-edit.pl

index d6b129a..fb9e98c 100755 (executable)
@@ -233,8 +233,8 @@ if ($op and $op eq 'serialchangestatus') {
           my $xml = TransformHtmlToXml( $itemhash{$item}->{'tags'},
                                   $itemhash{$item}->{'subfields'},
                                   $itemhash{$item}->{'field_values'},
-                                  $itemhash{$item}->{'ind_tag'},
-                                  $itemhash{$item}->{'indicator'});
+                                  $itemhash{$item}->{'indicator'},
+                                  $itemhash{$item}->{'ind_tag'});
   #           warn $xml;
           my $record=MARC::Record::new_from_xml($xml, 'UTF-8');
           if ($item=~/^N/){