Possible fix for dates being messed up on subscriptions.
This commit is contained in:
parent
9091a2202e
commit
6bf329d68d
2 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ sub apply {
|
|||
$groupId = $self->{_properties}{subscriptionGroup};
|
||||
my $group = WebGUI::Group->new($self->session,$groupId);
|
||||
# Make user part of the right group
|
||||
$group->addUsers([$userId], $self->_getDuration($self->{_properties}{duration}));
|
||||
$group->addUsers([$userId], $self->session->datetime->time + $self->_getDuration($self->{_properties}{duration}));
|
||||
|
||||
# Add karma
|
||||
WebGUI::User->new($self->session,$userId)->karma($self->{_properties}{karma}, 'Subscription', 'Added for purchasing subscription '.$self->{_properties}{name});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue