[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-detail.pl [rel_2_2]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/opac opac-detail.pl [rel_2_2] |
Date: |
Sun, 29 Jul 2007 23:14:50 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Mason James <sushi> 07/07/29 23:14:50
Modified files:
opac : opac-detail.pl
Log message:
little change to regex to strip other glitchy non-numeric chars too
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.14.2.22&r2=1.14.2.23
Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.22
retrieving revision 1.14.2.23
diff -u -b -r1.14.2.22 -r1.14.2.23
--- opac-detail.pl 27 Feb 2007 17:33:46 -0000 1.14.2.22
+++ opac-detail.pl 29 Jul 2007 23:14:50 -0000 1.14.2.23
@@ -97,7 +97,7 @@
if (C4::Context->preference("AmazonContent")==1) {
use C4::Amazon;
$dat->{'amazonisbn'}=$dat->{'isbn'};
- $dat->{'amazonisbn'} =~ s|-||g;
+ $dat->{'amazonisbn'} =~ s/[^0-9]//g
$template->param( amazonisbn => $dat->{amazonisbn} );
- [Koha-cvs] koha/opac opac-detail.pl [rel_2_2],
Mason James <=