--- loncom/auth/lonroles.pm 2008/07/05 23:27:34 1.199 +++ loncom/auth/lonroles.pm 2008/07/08 20:16:16 1.200 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.199 2008/07/05 23:27:34 raeburn Exp $ +# $Id: lonroles.pm,v 1.200 2008/07/08 20:16:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -866,7 +866,7 @@ sub print_rolerows { sub findcourse_advice { my ($r) = @_; my $domdesc = &Apache::lonnet::domain($env{'user.domain'},'description'); - if (&check_autoenroll($env{'user.domain'})) { + if (&Apache::lonnet::auto_run(undef,$env{'user.domain'})) { $r->print(&mt('If you were expecting to see an active role listed for a particular course in the [_1] domain, it may be missing for one of the following reasons:',$domdesc).'