[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Wed Feb 14 15:20:25 CET 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	07/02/14 14:20:24

Modified files:
	C4/Circulation : Circ2.pm 

Log message:
	BUG FIX: wrong field syntax for sql request

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.114.2.41&r2=1.114.2.42

Patches:
Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.114.2.41
retrieving revision 1.114.2.42
diff -u -b -r1.114.2.41 -r1.114.2.42
--- Circ2.pm	9 Feb 2007 18:00:42 -0000	1.114.2.41
+++ Circ2.pm	14 Feb 2007 14:20:23 -0000	1.114.2.42
@@ -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: Circ2.pm,v 1.114.2.41 2007/02/09 18:00:42 alaurin Exp $
+# $Id: Circ2.pm,v 1.114.2.42 2007/02/14 14:20:23 btoumi Exp $
 
 use strict;
 require Exporter;
@@ -41,7 +41,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.114.2.41 $' =~ /\d+/g; shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.114.2.42 $' =~ /\d+/g; shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -1822,7 +1822,7 @@
     if ( my $data = $sth->fetchrow_hashref ) {
         my $usth =
           $dbh->prepare(
-"update accountlines set accounttype='F' where (borrowernumber = ?) and (itemnumber = ?) and (acccountno = ?)"
+"update accountlines set accounttype='F' where (borrowernumber = ?) and (itemnumber = ?) and (accountno = ?)"
           );
         $usth->execute( $brn, $itm, $data->{'accountno'} );
         $usth->finish();





More information about the Koha-cvs mailing list