--- loncom/interface/lontiny.pm 2022/07/02 17:17:47 1.13 +++ loncom/interface/lontiny.pm 2022/07/02 17:23:02 1.14 @@ -2,7 +2,7 @@ # Extract domain, courseID, and symb from a shortened URL, # and switch role to a role in designated course. # -# $Id: lontiny.pm,v 1.13 2022/07/02 17:17:47 raeburn Exp $ +# $Id: lontiny.pm,v 1.14 2022/07/02 17:23:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -401,7 +401,7 @@ sub launch_check { if ($linkprotector) { &Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); } elsif ($env{'request.linkprot'}) { - &Apache::lonnet::delenv('request.linkprot); + &Apache::lonnet::delenv('request.linkprot'); } if ($linkkey ne '') { &Apache::lonnet::appenv({'request.linkkey' => $linkkey}); @@ -422,7 +422,7 @@ sub launch_check { if ($linkprotector) { &Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); } elsif ($env{'request.linkprot'}) { - &Apache::lonnet::delenv('request.linkprot); + &Apache::lonnet::delenv('request.linkprot'); } if ($linkkey ne '') { &Apache::lonnet::appenv({'request.linkkey' => $linkkey});