--- loncom/auth/lonroles.pm 2007/10/22 22:16:30 1.180 +++ loncom/auth/lonroles.pm 2007/11/09 20:56:34 1.181 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.180 2007/10/22 22:16:30 raeburn Exp $ +# $Id: lonroles.pm,v 1.181 2007/11/09 20:56:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -642,7 +642,7 @@ ENDHEADER } # More than one possible role # ----------------------------------------------------------------------- Table - unless (($advanced) || ($nochoose)) { + unless ((!&Apache::lonmenu::show_course()) || ($nochoose)) { $r->print("

".&mt('Select a Course to Enter')."

\n"); } $r->print('
');