koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
Date: Thu, 23 Feb 2006 08:39:12 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Joshua Ferraro <address@hidden> 06/02/23 08:39:11

Modified files:
        C4             : Biblio.pm 

Log message:
        Fix for splitting up fixed fields containing | in them causing
        incorrect storage of fixed fields in Koha DB.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Biblio.pm.diff?only_with_tag=rel_2_2&tr1=1.115.2.30&tr2=1.115.2.31&r1=text&r2=text

Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.115.2.30 koha/C4/Biblio.pm:1.115.2.31
--- koha/C4/Biblio.pm:1.115.2.30        Mon Feb 20 09:18:57 2006
+++ koha/C4/Biblio.pm   Thu Feb 23 08:39:11 2006
@@ -428,7 +428,8 @@
     if ( not($subfieldcode) ) {
         $subfieldcode = ' ' unless $subfieldcode eq '0';
     }
-    my @subfieldvalues = split /\||#/, $subfieldvalues;
+    my @subfieldvalues; # = split /\||#/, $subfieldvalues;
+    push @subfieldvalues,$subfieldvalues;
     foreach my $subfieldvalue (@subfieldvalues) {
         if ( length($subfieldvalue) > 255 ) {
             $dbh->do(
@@ -2919,8 +2920,12 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.115.2.30 2006/02/20 09:18:57 thd Exp $
+# $Id: Biblio.pm,v 1.115.2.31 2006/02/23 08:39:11 kados Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.115.2.31  2006/02/23 08:39:11  kados
+# Fix for splitting up fixed fields containing | in them causing
+# incorrect storage of fixed fields in Koha DB.
+#
 # Revision 1.115.2.30  2006/02/20 09:18:57  thd
 # Reverse array filled with elements from repeated subfields from first to last
 # to avoid last to first concatenation of elements in Koha DB.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]