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

raeburn raeburn at source.lon-capa.org
Wed Jan 18 13:10:26 EST 2023


raeburn		Wed Jan 18 18:10:26 2023 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Bug 6977
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.691 loncom/interface/londocs.pm:1.692
--- loncom/interface/londocs.pm:1.691	Thu Jan  5 21:33:31 2023
+++ loncom/interface/londocs.pm	Wed Jan 18 18:10:26 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.691 2023/01/05 21:33:31 raeburn Exp $
+# $Id: londocs.pm,v 1.692 2023/01/18 18:10:26 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3109,7 +3109,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