[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
Chris Cormack
chris at katipo.co.nz
Mon Feb 27 08:17:56 CET 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Chris Cormack <rangi at savannah.gnu.org> 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 @@
}
}
$indicators{@$rtags[$i]}.=' ';
+ # 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.
More information about the Koha-cvs
mailing list