- fix [ 1288699 ] 6.7.4 - username sometimes does not appear

- fix [ 1296468 ] Username doesn't show up in Edit User Account
 - fix [ 1295921 ] Problem with Survey content.
 - fix [ 1290460 ] Survey error when adding multiple choice answers
 - fix [ 1288887 ] new user information mail dos'nt contains the username
This commit is contained in:
JT Smith 2005-09-20 16:35:07 +00:00
parent 104ee36535
commit 844b03b34a
5 changed files with 64 additions and 11 deletions

View file

@ -239,7 +239,7 @@ sub new {
$userId = _create($overrideId) if ($userId eq "new");
my $cache = WebGUI::Cache->new(["user",$userId]);
my $userData = $cache->get;
unless ($userData->{_userId}) {
unless ($userData->{_userId} && $userData->{_user}{username}) {
my %user;
tie %user, 'Tie::CPHash';
%user = WebGUI::SQL->quickHash("select * from users where userId=".quote($userId));