--- loncom/lonnet/perl/lonnet.pm 2007/11/17 02:41:17 1.925 +++ loncom/lonnet/perl/lonnet.pm 2007/11/20 00:13:56 1.926 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.925 2007/11/17 02:41:17 albertel Exp $ +# $Id: lonnet.pm,v 1.926 2007/11/20 00:13:56 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2670,7 +2670,9 @@ sub get_first_access { my ($symb,$courseid,$udom,$uname)=&whichuser(); if ($argsymb) { $symb=$argsymb; } my ($map,$id,$res)=&decode_symb($symb); - if ($type eq 'map') { + if ($type eq 'course') { + $res='course'; + } elsif ($type eq 'map') { $res=&symbread($map); } else { $res=$symb;