changed renewal to opac_renewal for now
[working/Evergreen.git] / 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);
        }