projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd0a52
)
fix bad bug causing inappropriate renewals
author
jeff
<jeff>
Mon, 5 Jul 2010 09:01:50 +0000
(09:01 +0000)
committer
jeff
<jeff>
Mon, 5 Jul 2010 09:01:50 +0000
(09:01 +0000)
FS/FS/part_export/domreg_opensrs.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/domreg_opensrs.pm
b/FS/FS/part_export/domreg_opensrs.pm
index
13457ae
..
ea5634e
100644
(file)
--- a/
FS/FS/part_export/domreg_opensrs.pm
+++ b/
FS/FS/part_export/domreg_opensrs.pm
@@
-533,7
+533,9
@@
sub renew_through {
if $years > 10; #no infinite loop
}
- warn "$me: renewing ". $svc_domain->domain. "for $years years\n" if $DEBUG;
+ return '' unless $years;
+
+ warn "$me: renewing ". $svc_domain->domain. " for $years years\n" if $DEBUG;
my $srs = $self->get_srs;
$rv = $srs->make_request(
{