[LON-CAPA-cvs] cvs: rat(version_2_11_X) / lonsequence.pm

raeburn raeburn at source.lon-capa.org
Thu Sep 3 08:49:17 EDT 2020


raeburn		Thu Sep  3 12:49:17 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /rat	lonsequence.pm 
  Log:
  - For 2.11
    Backport 1.52, 1.53.
  
  
Index: rat/lonsequence.pm
diff -u rat/lonsequence.pm:1.48.2.1 rat/lonsequence.pm:1.48.2.2
--- rat/lonsequence.pm:1.48.2.1	Wed Feb  6 23:45:14 2019
+++ rat/lonsequence.pm	Thu Sep  3 12:49:17 2020
@@ -2,7 +2,7 @@
 #
 # Sequence Handler
 #
-# $Id: lonsequence.pm,v 1.48.2.1 2019/02/06 23:45:14 raeburn Exp $
+# $Id: lonsequence.pm,v 1.48.2.2 2020/09/03 12:49:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -404,8 +404,12 @@
       if ($is_encrypted) {
           $showdisurl = &Apache::lonenc::encrypted($disurl);
       }
-      &Apache::lonnet::symblist($requrl,$disurl => [$disurl,$dismapid],
-				'last_known' => [$disurl,$dismapid]); 
+      if ($disurl =~ m{^/adm/navmaps(\?|$)}) {
+          &Apache::lonnet::symblist($requrl,$disurl => [$disurl,$dismapid]);
+      } else {
+          &Apache::lonnet::symblist($requrl,$disurl => [$disurl,$dismapid],
+                                    'last_known' => [$disurl,$dismapid]);
+      }
       &Apache::loncommon::content_type($r,'text/html');
       $r->header_out(Location => &Apache::lonnet::absolute_url($ENV{'SERVER_NAME'}).
                                  $showdisurl);




More information about the LON-CAPA-cvs mailing list