changed renewal to opac_renewal for now
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Sep 2005 14:16:20 +0000 (14:16 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 2 Sep 2005 14:16:20 +0000 (14:16 +0000)
eventually need to refactor many of these methods, named parameters etc.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@1789 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Rules.pm

index e9f55d6..97947a2 100644 (file)
@@ -472,7 +472,7 @@ sub circulate {
 
        if($isrenew) {
                warn "Renewing circ.... ".$circ->id ." and setting num renews to " . $numrenews - 1 . "\n";
-               $circ->renewal(1);
+               $circ->opac_renewal(1); # XXX different for different types ! 
                $circ->clear_id;
                $circ->renewal_remaining($numrenews - 1);
        }