[Koha-cvs] CVS: koha/opac opac-ISBDdetail.pl,1.5.2.3,1.5.2.4
Paul POULAIN
tipaul at users.sourceforge.net
Wed Jun 22 14:51:12 CEST 2005
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17046/opac
Modified Files:
Tag: rel_2_2
opac-ISBDdetail.pl
Log Message:
bugfix (in repeated subfield separator position)
Index: opac-ISBDdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-ISBDdetail.pl,v
retrieving revision 1.5.2.3
retrieving revision 1.5.2.4
diff -C2 -r1.5.2.3 -r1.5.2.4
*** opac-ISBDdetail.pl 25 Mar 2005 17:04:27 -0000 1.5.2.3
--- opac-ISBDdetail.pl 22 Jun 2005 12:51:10 -0000 1.5.2.4
***************
*** 115,119 ****
my $subfieldvalue = get_authorised_value_desc($tag, $subf[$i][0], $subf[$i][1], '', $dbh);
my $tagsubf = $tag.$subfieldcode;
! $calculated =~ s/\{(.?.?.?)$tagsubf(.*?)\}/$1$subfieldvalue\{$1$tagsubf$2\}$2/g;
}
# field builded, store the result
--- 115,119 ----
my $subfieldvalue = get_authorised_value_desc($tag, $subf[$i][0], $subf[$i][1], '', $dbh);
my $tagsubf = $tag.$subfieldcode;
! $calculated =~ s/\{(.?.?.?)$tagsubf(.*?)\}/$1$subfieldvalue$2\{$1$tagsubf$2\}/g;
}
# field builded, store the result
More information about the Koha-cvs
mailing list