[Koha-cvs] koha/C4 Acquisition.pm [rel_3_0]

paul poulain paul at koha-fr.org
Thu Nov 2 15:56:14 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	06/11/02 14:56:14

Modified files:
	C4             : Acquisition.pm 

Log message:
	grrr... 1 hours lost to fix this bug : parameters must be enclosed in () even if there is only 1 parameter !

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Acquisition.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.43.2.1&r2=1.43.2.2

Patches:
Index: Acquisition.pm
===================================================================
RCS file: /sources/koha/koha/C4/Acquisition.pm,v
retrieving revision 1.43.2.1
retrieving revision 1.43.2.2
diff -u -b -r1.43.2.1 -r1.43.2.2
--- Acquisition.pm	30 Oct 2006 13:21:40 -0000	1.43.2.1
+++ Acquisition.pm	2 Nov 2006 14:56:13 -0000	1.43.2.2
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Acquisition.pm,v 1.43.2.1 2006/10/30 13:21:40 toins Exp $
+# $Id: Acquisition.pm,v 1.43.2.2 2006/11/02 14:56:13 tipaul Exp $
 
 use strict;
 require Exporter;
@@ -30,7 +30,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.43.2.1 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.43.2.2 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
 
 # used in receiveorder subroutine
 # to provide library specific handling
@@ -208,7 +208,7 @@
 =cut
 
 sub GetPendingOrders {
-    my $supplierid = @_;
+    my ($supplierid) = @_;
     my $dbh = C4::Context->dbh;
     my $strsth = "
         SELECT    count(*),authorisedby,creationdate,aqbasket.basketno,





More information about the Koha-cvs mailing list