This commit is contained in:
JT Smith 2002-05-13 23:53:28 +00:00
parent 59cd8c9111
commit 33bc8587f5

View file

@ -79,6 +79,7 @@ sub _getUserInfo {
}
%profile = WebGUI::SQL->buildHash("select userProfileField.fieldName, userProfileData.fieldData from userProfileData, userProfileField where userProfileData.fieldName=userProfileField.fieldName and userProfileData.userId=$user{userId}", $_[1]);
%user = (%user, %profile);
$user{language} = 'English' if ($user{language} eq "");
return \%user;
}