--- loncom/interface/spreadsheet/assesscalc.pm 2004/02/24 20:47:14 1.33 +++ loncom/interface/spreadsheet/assesscalc.pm 2004/11/02 20:48:02 1.34 @@ -1,5 +1,5 @@ # -# $Id: assesscalc.pm,v 1.33 2004/02/24 20:47:14 matthew Exp $ +# $Id: assesscalc.pm,v 1.34 2004/11/02 20:48:02 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -397,11 +397,8 @@ sub get_full_title { my @title = ($self->get_title()); # Look up the users identifying information # Get the users information - my %userenv = &Apache::loncoursedata::GetUserName($self->{'name'}, - $self->{'domain'}); - my $name = - join(' ',@userenv{'firstname','middlename','lastname','generation'}); - $name =~ s/\s+$//; + my $name = &Apache::loncommon::plainname($self->{'name'}, + $self->{'domain'}); push (@title,$name); push (@title,&Apache::lonlocal::locallocaltime(time)); return @title;