From a915b15cd77e08fb3bfcd29aaf2171aa24616f55 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 29 Oct 2007 22:42:38 +0000 Subject: [PATCH] fix a typo in Auth.pm for the profile method --- lib/WebGUI/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }