[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.87.2.7,1.87.2.8

Joshua Ferraro joshferraro at users.sourceforge.net
Fri May 20 21:06:05 CEST 2005


Update of /cvsroot/koha/koha/C4/Circulation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5392/Circulation

Modified Files:
      Tag: rel_2_2
	Circ2.pm 
Log Message:
Fix to Bug 844: renewstatus subroutine should check for reserves -- now it does.
Note that I'm assuming that all libraries don't want items reserved for others
+to be renewalable.


Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.7
retrieving revision 1.87.2.8
diff -C2 -r1.87.2.7 -r1.87.2.8
*** Circ2.pm	20 May 2005 18:55:08 -0000	1.87.2.7
--- Circ2.pm	20 May 2005 19:06:02 -0000	1.87.2.8
***************
*** 1627,1630 ****
--- 1627,1635 ----
  			$renewokay = 0;
  		}
+ 		my ($resfound, $resrec) = CheckReserves($itemno);
+                 if ($resfound) {
+                         $renewokay = 0;
+                 }
+ 
  	}
  	$sth1->finish;





More information about the Koha-cvs mailing list