[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.24,1.6.2.25
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.24,1.6.2.25 |
Date: |
Tue, 25 Jun 2002 10:16:12 -0700 |
Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv11223
Modified Files:
Tag: rel-1-2
marcimport.pl
Log Message:
Bug fix. Again, it's not sufficient that they are equal, they must also
be some unique value.
Index: marcimport.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/marcimport.pl,v
retrieving revision 1.6.2.24
retrieving revision 1.6.2.25
diff -C2 -r1.6.2.24 -r1.6.2.25
*** marcimport.pl 25 Jun 2002 17:12:06 -0000 1.6.2.24
--- marcimport.pl 25 Jun 2002 17:16:10 -0000 1.6.2.25
***************
*** 591,595 ****
$sth=$dbh->prepare("select *
from biblioitems
! where isbn=? or issn=? or lccn=? ");
$sth->execute($bib->{isbn},$bib->{issn},$bib->{lccn});
if ($sth->rows) {
--- 591,595 ----
$sth=$dbh->prepare("select *
from biblioitems
! where (isbn=? and isbn!='') or (issn=? and issn!='') or (lccn=? and
lccn!='') ");
$sth->execute($bib->{isbn},$bib->{issn},$bib->{lccn});
if ($sth->rows) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.24,1.6.2.25,
Steve Tonnesen <=