koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/acqui.simple additem.pl,1.33,1.34


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/acqui.simple additem.pl,1.33,1.34
Date: Thu, 22 Sep 2005 03:01:47 -0700

Update of /cvsroot/koha/koha/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6231/acqui.simple

Modified Files:
        additem.pl 
Log Message:
see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of 
biblionumber everywhere (instead of bn, biblio, ...)

Index: additem.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/additem.pl,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** additem.pl  11 Aug 2005 09:00:07 -0000      1.33
--- additem.pl  22 Sep 2005 10:01:45 -0000      1.34
***************
*** 80,84 ****
  # check for item barcode # being unique
        my $addedolditem = MARCmarc2koha($dbh,$addeditem);
!       my $exists = itemdata($addedolditem->{'barcode'});
        push @errors,"barcode_not_unique" if($exists);
        # if barcode exists, don't create, but report The problem.
--- 80,84 ----
  # check for item barcode # being unique
        my $addedolditem = MARCmarc2koha($dbh,$addeditem);
!       my $exists = get_item_from_barcode($addedolditem->{'barcode'});
        push @errors,"barcode_not_unique" if($exists);
        # if barcode exists, don't create, but report The problem.




reply via email to

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