fix: Product add-to-group would always try to add to group

This commit is contained in:
Doug Bell 2006-11-02 22:10:51 +00:00
parent c197ded0a9
commit eced8026ae
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;