fix: Commerce product group bug./

Backported version tag fix to 7.1.2
This commit is contained in:
Doug Bell 2006-10-23 18:20:30 +00:00
parent eacbc0efcf
commit c86f3c9996
4 changed files with 16 additions and 14 deletions

View file

@ -48,7 +48,7 @@ sub handler {
### Add to group action
# If group is 'everyone', skip
unless ($self->{_product}->get('groupId') eq '7') {
unless ($self->{_product}->get('groupId') && $self->{_product}->get('groupId') eq '7') {
my $g = WebGUI::Group->new($self->session,$self->{_product}->get('groupId'));
my $expiresOffset;