koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.23,1.6.2.24


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/acqui.simple marcimport.pl,1.6.2.23,1.6.2.24
Date: Tue, 25 Jun 2002 10:12:09 -0700

Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv9544

Modified Files:
      Tag: rel-1-2
        marcimport.pl 
Log Message:
Bug Fix.  It's not good enough that the field is defined, it must also have
some distinct value.


Index: marcimport.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/marcimport.pl,v
retrieving revision 1.6.2.23
retrieving revision 1.6.2.24
diff -C2 -r1.6.2.23 -r1.6.2.24
*** marcimport.pl       14 Jun 2002 21:20:27 -0000      1.6.2.23
--- marcimport.pl       25 Jun 2002 17:12:06 -0000      1.6.2.24
***************
*** 602,606 ****
        $searchfield="";
        foreach $fieldname ( "controlnumber", "lccn", "issn", "isbn") {
!           if ( defined $bib->{$fieldname} ) {
                $searchfield=$fieldname;
                $searchvalue=$bib->{$fieldname};
--- 602,606 ----
        $searchfield="";
        foreach $fieldname ( "controlnumber", "lccn", "issn", "isbn") {
!           if ( defined $bib->{$fieldname} && $bib->{$fieldname} ) {
                $searchfield=$fieldname;
                $searchvalue=$bib->{$fieldname};




reply via email to

[Prev in Thread] Current Thread [Next in Thread]