[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 03 Sep 2002 02:22:40 -0000


albertel		Mon Sep  2 22:22:40 2002 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  - perl 5.005 desn't like the original line
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.28 loncom/interface/loncoursedata.pm:1.29
--- loncom/interface/loncoursedata.pm:1.28	Sun Sep  1 02:23:19 2002
+++ loncom/interface/loncoursedata.pm	Mon Sep  2 22:22:40 2002
@@ -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 @@
     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->{$_};
     }