[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
paul poulain
paul at koha-fr.org
Thu Jan 5 16:13:55 CET 2006
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_2_2
Changes by: paul poulain <tipaul at savannah.gnu.org> 06/01/05 15:13:55
Modified files:
C4 : Biblio.pm
Log message:
bugfix with $0 subfield
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Biblio.pm.diff?only_with_tag=rel_2_2&tr1=1.115.2.26&tr2=1.115.2.27&r1=text&r2=text
Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.115.2.26 koha/C4/Biblio.pm:1.115.2.27
--- koha/C4/Biblio.pm:1.115.2.26 Wed Dec 14 13:08:47 2005
+++ koha/C4/Biblio.pm Thu Jan 5 15:13:55 2006
@@ -422,7 +422,7 @@
# return;
# }
if ( not($subfieldcode) ) {
- $subfieldcode = ' ';
+ $subfieldcode = ' ' unless $subfieldcode eq '0';
}
my @subfieldvalues = split /\||#/, $subfieldvalues;
foreach my $subfieldvalue (@subfieldvalues) {
@@ -2769,8 +2769,11 @@
=cut
-# $Id: Biblio.pm,v 1.115.2.26 2005/12/14 13:08:47 tipaul Exp $
+# $Id: Biblio.pm,v 1.115.2.27 2006/01/05 15:13:55 tipaul Exp $
# $Log: Biblio.pm,v $
+# Revision 1.115.2.27 2006/01/05 15:13:55 tipaul
+# bugfix with $0 subfield
+#
# Revision 1.115.2.26 2005/12/14 13:08:47 tipaul
# * fix for items.notes that is not correctly handled in the non-MARC part of the DB
# * for an unknown reason, mysql fetchrow_hashref returns author BEFORE the title, even if you want it after that makes a problem for UNIMARC where we have 200 $atitle $fauthor => the record appears $f $a.
More information about the Koha-cvs
mailing list