--- rat/lonuserstate.pm 2021/07/19 15:48:25 1.164 +++ rat/lonuserstate.pm 2021/08/06 01:27:04 1.165 @@ -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.164 2021/07/19 15:48:25 raeburn Exp $ +# $Id: lonuserstate.pm,v 1.165 2021/08/06 01:27:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -950,7 +950,6 @@ sub traceroute { @deeplink = &Apache::lonnet::EXT('resource.0.deeplink',$symb,'','','','',$cid,\@recurseup); } unless (@deeplink < 2) { - my ($listed,$scope,$access) = split(/,/,$deeplink[0]); $hash{'deeplinkonly_'.$rid}=join(':',@deeplink); } @@ -1617,9 +1616,8 @@ sub build_tmp_hashes { $deeplink = $hash{'deeplinkonly_'.$loginrid}; } if ($deeplink) { - my ($listed,$scope,$access) = split(/,/,$deeplink); - my $exclude = 1; - if ($exclude) { + my ($state,$others,$listed,$scope,$protect) = split(/,/,$deeplink); + if ($others eq 'hide') { my @recfolders; if ($scope eq 'rec') { foreach my $key (keys(%hash)) {