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: Chris Cormack
Subject: [Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
Date: Mon, 27 Feb 2006 07:17:56 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Chris Cormack <address@hidden>  06/02/27 07:17:55

Modified files:
        C4             : Biblio.pm 

Log message:
        Hopefully a fix for a problem Joshua was having with blank tags being 
added

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

Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.115.2.33 koha/C4/Biblio.pm:1.115.2.34
--- koha/C4/Biblio.pm:1.115.2.33        Sat Feb 25 03:55:08 2006
+++ koha/C4/Biblio.pm   Mon Feb 27 07:17:55 2006
@@ -1062,6 +1062,12 @@
                                }
                        }
                        address@hidden'  ';
+                       # skip blank tags, I hope this works 
+                       if (@$rtags[$i] eq ''){
+                           $prevtag = @$rtags[$i];
+                           undef $field;
+                           next;
+                       }
                        if (@$rtags[$i] <10) {
                                $prevvalue= @$rvalues[$i];
                                undef $field;
@@ -2927,8 +2933,11 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.115.2.33 2006/02/25 03:55:08 kados Exp $
+# $Id: Biblio.pm,v 1.115.2.34 2006/02/27 07:17:55 rangi Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.115.2.34  2006/02/27 07:17:55  rangi
+# Hopefully a fix for a problem Joshua was having with blank tags being added
+#
 # Revision 1.115.2.33  2006/02/25 03:55:08  kados
 # Fixes bug with previous commit. addbiblio.pl should now correctly
 # NOT save fields that are empty.




reply via email to

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