diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 285a56266..c1b04975f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -24,6 +24,7 @@ - fix: SQLReport no longer paginates or runs nested queries when downloading. - Made Stow's warning a debug message, which is what debug messages are for. - fix: WebGUI::Text::splitCsv no longer removes trailing empty fields + - fix: Product add-to-group would always try to add a user to a group 7.1.3 - fix: SQLReport now returns error if can't find DatabaseLink diff --git a/lib/WebGUI/Commerce/Item/Product.pm b/lib/WebGUI/Commerce/Item/Product.pm index 98b53db1a..6ddf08713 100755 --- a/lib/WebGUI/Commerce/Item/Product.pm +++ b/lib/WebGUI/Commerce/Item/Product.pm @@ -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;