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

raeburn raeburn at source.lon-capa.org
Mon Jul 1 14:29:42 EDT 2024


raeburn		Mon Jul  1 18:29:42 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - For 2.11
    Backport 1.692 
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.93 loncom/interface/londocs.pm:1.484.2.94
--- loncom/interface/londocs.pm:1.484.2.93	Wed Dec 22 01:22:06 2021
+++ loncom/interface/londocs.pm	Mon Jul  1 18:29:41 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.93 2021/12/22 01:22:06 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.94 2024/07/01 18:29:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2845,7 +2845,7 @@
             my ($name,$url)=split(/\:/,$LONCAPA::map::resources[$res]);
             $name=&LONCAPA::map::qtescape($name);
             $url=&LONCAPA::map::qtescape($url);
-            next unless ($name && $url);
+            next unless ($url);
             my $is_map;
             if ($url =~ m{/uploaded/.+\.(page|sequence)$}) {
                 $is_map = 1;




More information about the LON-CAPA-cvs mailing list