[Koha-cvs] koha/acqui supplier.pl [rel_3_0]

paul poulain paul at koha-fr.org
Wed Nov 1 22:20:32 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	06/11/01 21:20:32

Modified files:
	acqui          : supplier.pl 

Log message:
	reindenting & filling supplier only if there is a supplierid

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui/supplier.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.13.2.1&r2=1.13.2.2

Patches:
Index: supplier.pl
===================================================================
RCS file: /sources/koha/koha/acqui/supplier.pl,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -b -r1.13.2.1 -r1.13.2.2
--- supplier.pl	30 Oct 2006 09:45:20 -0000	1.13.2.1
+++ supplier.pl	1 Nov 2006 21:20:32 -0000	1.13.2.2
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: supplier.pl,v 1.13.2.1 2006/10/30 09:45:20 tipaul Exp $
+# $Id: supplier.pl,v 1.13.2.2 2006/11/01 21:20:32 tipaul Exp $
 
 #script to show display basket of orders
 #written by chris at katipo.co.nz 24/2/2000
@@ -55,7 +55,7 @@
 
 my $query=new CGI;
 my $id=$query->param('supplierid');
-my @booksellers = GetBookSeller($id);
+my @booksellers = GetBookSeller($id) if $id;
 my $count = scalar @booksellers;
 my $op=$query->param('op') || "display";
 





More information about the Koha-cvs mailing list