--- loncom/interface/loncreateuser.pm 2009/02/05 12:19:50 1.277 +++ loncom/interface/loncreateuser.pm 2009/02/09 04:11:11 1.280 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.277 2009/02/05 12:19:50 raeburn Exp $ +# $Id: loncreateuser.pm,v 1.280 2009/02/09 04:11:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -227,9 +227,9 @@ sub build_tools_display { 'official' => 'Can request creation of official courses', 'unofficial' => 'Can request creation of unofficial courses', ); - if ($context eq 'requestcourse') { + if ($context eq 'requestcourses') { %userenv = &Apache::lonnet::userenvironment($ccdomain,$ccuname, - 'requestcourse.official','requestcourse.unofficial'); + 'requestcourses.official','requestcourses.unofficial'); @usertools = ('official','unofficial'); } else { %userenv = &Apache::lonnet::userenvironment($ccdomain,$ccuname, @@ -870,7 +870,7 @@ ENDCHANGEUSER if (&Apache::lonnet::allowed('ccc',$env{'request.role.domain'})) { $r->print('
'.&mt('The following were enrolled in the course:').'
'.&mt("For the following users, an error occurred when updating the user's own self-enroll requests record:").'