--- loncom/interface/loncoursedata.pm 2002/09/01 06:23:19 1.28 +++ loncom/interface/loncoursedata.pm 2002/09/03 12:27:05 1.30 @@ -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.30 2002/09/03 12:27:05 stredwic 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->{$_}; } @@ -1249,7 +1250,7 @@ sub DownloadStudentCourseDataSeparate { $WhatIWant .= '|timestamp)'; $WhatIWant .= ')'; - &CheckForResidualDownload($courseID, $cacheDB, $students, $c); + &CheckForResidualDownload($cacheDB, 'true', 'true', $courseID, $r, $c); my $studentCount = scalar(@$students); if($status eq 'true') {