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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 18 Nov 2005 19:32:07 -0000


albertel		Fri Nov 18 14:32:07 2005 EDT

  Modified files:              
    /loncom/interface	lonrss.pm 
  Log:
  - typo
  
  
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.3 loncom/interface/lonrss.pm:1.4
--- loncom/interface/lonrss.pm:1.3	Fri Nov 18 14:11:06 2005
+++ loncom/interface/lonrss.pm	Fri Nov 18 14:32:05 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # RSS Feeder
 #
-# $Id: lonrss.pm,v 1.3 2005/11/18 19:11:06 albertel Exp $
+# $Id: lonrss.pm,v 1.4 2005/11/18 19:32:05 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -166,7 +166,7 @@
 	}
 # Get feed items
         my %newsfeed=&Apache::lonnet::dump($feedname,$udom,$uname);
-	foreach $entry (sort(keys(%newsfeed))) {
+	foreach my $entry (sort(keys(%newsfeed))) {
 	    if ($entry=~/^(\d+)\_status$/) {
 		my $id=$1;
 		if (($newsfeed{$id.'_status'} ne 'public') && ($viewpubliconly)) { next; }