[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: rat / lonuserstate.pm
From:       raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2022-05-29 12:10:17
Message-ID: cvsraeburn1653826217 () cvsserver
[Download RAW message or body]

raeburn		Sun May 29 12:10:17 2022 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
    - Bug 6907
      Remove request.deeplink.target, if set, when deeplink no longer in effect.
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.167 rat/lonuserstate.pm:1.168
--- rat/lonuserstate.pm:1.167	Sat Aug 21 03:42:02 2021
+++ rat/lonuserstate.pm	Sun May 29 12:10:17 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.167 2021/08/21 03:42:02 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.168 2022/05/29 12:10:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1635,6 +1635,9 @@
                 }
                 if ($disallow) {
                     &Apache::lonnet::delenv('request.deeplink.login');
+                    if ($env{'request.deeplink.target'} ne '') {
+                        &Apache::lonnet::delenv('request.deeplink.target');
+                    }
                 } else {
                     if ($others eq 'hide') {
                         my @recfolders;


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic