[Koha-patches] [PATCH] Bug 3700 Parameters passed in wrong sequence

Colin Campbell colin.campbell at ptfs-europe.com
Fri Oct 9 13:23:54 CEST 2009


As subsequent operations don't get what they expect
all manner of nastiness ensues
---
 serials/serials-edit.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl
index 9994e44..86e594e 100755
--- a/serials/serials-edit.pl
+++ b/serials/serials-edit.pl
@@ -228,8 +228,8 @@ if ($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/){
-- 
1.6.2.5




More information about the Koha-patches mailing list