koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4/Circulation Circ2.pm [R_2-2-7-1]


From: Antoine Farnault
Subject: [Koha-cvs] koha/C4/Circulation Circ2.pm [R_2-2-7-1]
Date: Mon, 12 Feb 2007 10:21:27 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         R_2-2-7-1
Changes by:     Antoine Farnault <toins>        07/02/12 10:21:27

Modified files:
        C4/Circulation : Circ2.pm 

Log message:
        Commiting BUG FIX for 2.2.7.1.
        
        (bug 1185 fixed, datelastborrowed now gets stored.)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.87.2.16&r2=1.87.2.16.2.1

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.16
retrieving revision 1.87.2.16.2.1
diff -u -b -r1.87.2.16 -r1.87.2.16.2.1
--- Circ2.pm    14 Sep 2006 14:31:33 -0000      1.87.2.16
+++ Circ2.pm    12 Feb 2007 10:21:27 -0000      1.87.2.16.2.1
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.87.2.16 2006/09/14 14:31:33 oleonard Exp $
+# $Id: Circ2.pm,v 1.87.2.16.2.1 2007/02/12 10:21:27 toins Exp $
 
 #package to deal with Returns
 #written 3/11/99 by address@hidden
@@ -909,7 +909,7 @@
                $sth->execute($borrower->{'borrowernumber'}, 
$iteminformation->{'itemnumber'}, $dateduef, $env->{'branchcode'});
                $sth->finish;
                $iteminformation->{'issues'}++;
-               $sth=$dbh->prepare("update items set issues=? where 
itemnumber=?");
+               $sth=$dbh->prepare("update items set issues=?,datelastborrowed 
= now() where itemnumber=?");
                
$sth->execute($iteminformation->{'issues'},$iteminformation->{'itemnumber'});
                $sth->finish;
                &itemseen($iteminformation->{'itemnumber'});




reply via email to

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