fix: Product add-to-group would always try to add to group
This commit is contained in:
parent
c197ded0a9
commit
eced8026ae
2 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ sub handler {
|
|||
|
||||
### Add to group action
|
||||
# If group is 'everyone', skip
|
||||
unless ($self->{_product}->get('groupId') && $self->{_product}->get('groupId') eq '7') {
|
||||
if ($self->{_product}->get('groupId') && $self->{_product}->get('groupId') ne '7') {
|
||||
my $g = WebGUI::Group->new($self->session,$self->{_product}->get('groupId'));
|
||||
my $expiresOffset;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue