Commit c53e9fa6 authored by Joachim Desroches's avatar Joachim Desroches

Fix problem where members paying after January had a year too much.

parent a5117682
......@@ -664,7 +664,7 @@ sub subscription {
sub subscription_expire {
my ($self) = @_;
my ($sec,$min,$hour,$mday,$mon,$year) = localtime($self->subscription);
$year += 1;
$year += 1 if ($mon >= 8);
return POSIX::mktime(0, 0, 12, 23, 8, $year);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment