diff --git a/lib/WebGUI/Auth.pm b/lib/WebGUI/Auth.pm index c57881da4..2b6b8cc58 100644 --- a/lib/WebGUI/Auth.pm +++ b/lib/WebGUI/Auth.pm @@ -759,7 +759,7 @@ Sets or returns the Profile hash for a user. sub profile { my $self = shift; - return $self->{profile} if ($_[0]); + return $self->{profile} if (!$_[0]); $self->{profile} = $_[0]; }