[freeside-commits] freeside/FS/FS/part_export domreg_opensrs.pm, 1.5.2.2, 1.5.2.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Jul 5 02:02:04 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv9176
Modified Files:
Tag: FREESIDE_1_9_BRANCH
domreg_opensrs.pm
Log Message:
fix bad bug causing inappropriate renewals
Index: domreg_opensrs.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/domreg_opensrs.pm,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -w -d -r1.5.2.2 -r1.5.2.3
--- domreg_opensrs.pm 19 Jun 2010 19:30:43 -0000 1.5.2.2
+++ domreg_opensrs.pm 5 Jul 2010 09:01:50 -0000 1.5.2.3
@@ -533,6 +533,8 @@
if $years > 10; #no infinite loop
}
+ return '' unless $years;
+
warn "$me: renewing ". $svc_domain->domain. "for $years years\n" if $DEBUG;
my $srs = $self->get_srs;
$rv = $srs->make_request(
More information about the freeside-commits
mailing list