[Koha-cvs] koha/cataloguing additem.pl [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Fri Jan 12 11:10:43 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/01/12 10:10:43

Modified files:
	cataloguing    : additem.pl 

Log message:
	removing a warn.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/cataloguing/additem.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.7.2.11&r2=1.7.2.12

Patches:
Index: additem.pl
===================================================================
RCS file: /sources/koha/koha/cataloguing/additem.pl,v
retrieving revision 1.7.2.11
retrieving revision 1.7.2.12
diff -u -b -r1.7.2.11 -r1.7.2.12
--- additem.pl	18 Dec 2006 16:35:18 -0000	1.7.2.11
+++ additem.pl	12 Jan 2007 10:10:43 -0000	1.7.2.12
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: additem.pl,v 1.7.2.11 2006/12/18 16:35:18 toins Exp $
+# $Id: additem.pl,v 1.7.2.12 2007/01/12 10:10:43 toins Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -118,7 +118,7 @@
 #-------------------------------------------------------------------------------
 # retrieve item if exist => then, it's a modif
     $itemrecord = MARCgetitem($biblionumber,$itemnumber);
-    warn "ITEM : ".$itemrecord->as_formatted;
+    #warn "ITEM : ".$itemrecord->as_formatted;
     $nextop="saveitem";
 #-------------------------------------------------------------------------------
 } elsif ($op eq "delitem") {
@@ -130,7 +130,7 @@
     push @errors,"book_on_loan" if ($onloan); ##error book_on_loan added to template as well
     if ($onloan){
     $nextop="additem";
-    }else{
+    } else {
         &DelItem($biblionumber,$itemnumber);
         print $input->redirect("additem.pl?biblionumber=$biblionumber&frameworkcode=$frameworkcode");
         #$nextop="additem";





More information about the Koha-cvs mailing list