--- rat/lonuserstate.pm 2022/01/02 16:30:29 1.149.2.5.2.1 +++ rat/lonuserstate.pm 2022/05/29 12:35:02 1.149.2.5.2.2 @@ -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.149.2.5.2.1 2022/01/02 16:30:29 raeburn Exp $ +# $Id: lonuserstate.pm,v 1.149.2.5.2.2 2022/05/29 12:35:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1635,6 +1635,9 @@ sub build_tmp_hashes { } 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;