more session related bug fixes

This commit is contained in:
JT Smith 2006-01-15 18:34:44 +00:00
parent f2cccdff9f
commit b0ffb721b6
44 changed files with 143 additions and 143 deletions

View file

@ -54,7 +54,7 @@ specified by the session variable.
sub apply {
my ($self, $userId, $groupId);
$self = shift;
$userId = shift || $self->session->user->profileField("userId");
$userId = shift || $self->session->user->userId;
$groupId = $self->{_properties}{subscriptionGroup};
my $group = WebGUI::Group->new($self->session,$groupId);
# Make user part of the right group