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

raeburn raeburn at source.lon-capa.org
Sat Jan 21 17:36:45 EST 2017


raeburn		Sat Jan 21 22:36:45 2017 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonrss.pm 
  Log:
  - For 2.11
    - Backport 1.56
  
  
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.53.2.1 loncom/interface/lonrss.pm:1.53.2.2
--- loncom/interface/lonrss.pm:1.53.2.1	Thu Dec  1 16:41:00 2016
+++ loncom/interface/lonrss.pm	Sat Jan 21 22:36:45 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # RSS Feeder
 #
-# $Id: lonrss.pm,v 1.53.2.1 2016/12/01 16:41:00 raeburn Exp $
+# $Id: lonrss.pm,v 1.53.2.2 2017/01/21 22:36:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -128,7 +128,7 @@
     }
     if ($feeds) {
 	return '<h4>'.&mt('Available RSS Feeds and Blogs').'</h4><ul>'.$feeds.'</ul>';
-    } else {
+    } elsif (!$edit) {
         return '<h4>'.&mt('No available RSS Feeds and Blogs').'</h4>';
     }
 }




More information about the LON-CAPA-cvs mailing list