[Koha-cvs] koha moditem.pl [rel_2_2]

Robert Lyon bob at katipo.co.nz
Thu Feb 23 03:50:36 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Robert Lyon <bob_lyon at savannah.gnu.org>	06/02/23 02:50:36

Modified files:
	.              : moditem.pl 

Log message:
	Adding fix for if delete param is not image button

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/moditem.pl.diff?only_with_tag=rel_2_2&tr1=1.8.2.3&tr2=1.8.2.4&r1=text&r2=text

Patches:
Index: koha/moditem.pl
diff -u koha/moditem.pl:1.8.2.3 koha/moditem.pl:1.8.2.4
--- koha/moditem.pl:1.8.2.3	Sun Feb  5 21:59:20 2006
+++ koha/moditem.pl	Thu Feb 23 02:50:36 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: moditem.pl,v 1.8.2.3 2006/02/05 21:59:20 kados Exp $
+# $Id: moditem.pl,v 1.8.2.4 2006/02/23 02:50:36 bob_lyon Exp $
 
 
 #script to modify/delete biblios
@@ -40,7 +40,7 @@
 use C4::Interface::CGI::Output;
 
 my $input = new CGI;
-my $submit=$input->param('delete.x');
+my $submit=$input->param('delete.x') || $input->param('delete');
 my $itemnum=$input->param('item');
 my $bibitemnum=$input->param('bibitem');
 if ($submit ne ''){





More information about the Koha-cvs mailing list