[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_2_2]
From: |
Waylon Robertson |
Subject: |
[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_2_2] |
Date: |
Sun, 28 Jan 2007 00:29:26 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Waylon Robertson <genji> 07/01/28 00:29:25
Modified files:
C4/Circulation : Circ2.pm
Log message:
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=rel_2_2&r1=1.87.2.17&r2=1.87.2.18
Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.17
retrieving revision 1.87.2.18
diff -u -b -r1.87.2.17 -r1.87.2.18
--- Circ2.pm 16 Jan 2007 01:52:01 -0000 1.87.2.17
+++ Circ2.pm 28 Jan 2007 00:29:25 -0000 1.87.2.18
@@ -3,7 +3,7 @@
package C4::Circulation::Circ2;
-# $Id: Circ2.pm,v 1.87.2.17 2007/01/16 01:52:01 sushi Exp $
+# $Id: Circ2.pm,v 1.87.2.18 2007/01/28 00:29:25 genji Exp $
#package to deal with Returns
#written 3/11/99 by address@hidden
@@ -918,7 +918,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'});