--- loncom/interface/loncoursedata.pm 2002/09/01 06:23:19 1.28 +++ loncom/interface/loncoursedata.pm 2002/09/03 02:22:40 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: loncoursedata.pm,v 1.28 2002/09/01 06:23:19 stredwic Exp $ +# $Id: loncoursedata.pm,v 1.29 2002/09/03 02:22:40 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -737,7 +737,8 @@ sub ProcessStudentData { my %courseKeys; # user name:domain was prepended earlier in DownloadCourseInformation foreach (keys %$courseData) { - my $currentKey =~ s/^$name//; + my $currentKey = $_; + $currentKey =~ s/^$name//; $courseKeys{$currentKey}++; $cache->{$_}=$courseData->{$_}; }