[Koha-cvs] koha renewscript.pl [dev_week]

Kyle Hall kyle.m.hall at gmail.com
Fri Mar 23 13:13:10 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	07/03/23 12:13:10

Modified files:
	.              : renewscript.pl 

Log message:
	When renewing, the stats for a renewal had NULL for the branch. Now the branch contains the branchcode for the library where the renewal took place.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/renewscript.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.6.2.1.2.1&r2=1.6.2.1.2.2

Patches:
Index: renewscript.pl
===================================================================
RCS file: /sources/koha/koha/Attic/renewscript.pl,v
retrieving revision 1.6.2.1.2.1
retrieving revision 1.6.2.1.2.2
diff -u -b -r1.6.2.1.2.1 -r1.6.2.1.2.2
--- renewscript.pl	19 Mar 2007 17:05:39 -0000	1.6.2.1.2.1
+++ renewscript.pl	23 Mar 2007 12:13:10 -0000	1.6.2.1.2.2
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: renewscript.pl,v 1.6.2.1.2.1 2007/03/19 17:05:39 kylemhall Exp $
+# $Id: renewscript.pl,v 1.6.2.1.2.2 2007/03/23 12:13:10 kylemhall Exp $
 
 #written 18/1/2000 by chris at katipo.co.nz
 #script to renew items from the web
@@ -50,6 +50,8 @@
 
 my @renewFailures;
 
+$env{'branchcode'} = $input->cookie('branch');
+
 while ( my ($itemno, $value) = each %data) {
 #    warn "$itemno = $value\n";
    if ($value eq 'y'){





More information about the Koha-cvs mailing list