koha-cvs
[Top][All Lists]
Advanced

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

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


From: paul poulain
Subject: [Koha-cvs] koha/C4 Acquisition.pm [rel_3_0]
Date: Thu, 02 Nov 2006 14:56:14 +0000

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,




reply via email to

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