--- loncom/interface/lonsearchcourse.pm 2024/02/11 20:40:37 1.9 +++ loncom/interface/lonsearchcourse.pm 2024/02/11 21:41:48 1.10 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Course # -# $Id: lonsearchcourse.pm,v 1.9 2024/02/11 20:40:37 raeburn Exp $ +# $Id: lonsearchcourse.pm,v 1.10 2024/02/11 21:41:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -269,7 +269,7 @@ sub checkonthis { my $href=$url; if ($hash{'encrypted_'.$id} && !$env{'request.role.adv'}) { $href=&Apache::lonenc::encrypted($href); - if ($href =~ /\.sequence$/) { + if ($url =~ /\.sequence$/) { $href .= '?navmap=1'; } else { $href .= '?symb='.&Apache::lonenc::encrypted($symb);