--- loncom/interface/slotrequest.pm 2006/10/31 15:58:41 1.68.2.2 +++ loncom/interface/slotrequest.pm 2006/10/31 15:58:09 1.71 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.68.2.2 2006/10/31 15:58:41 albertel Exp $ +# $Id: slotrequest.pm,v 1.71 2006/10/31 15:58:09 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -77,7 +77,7 @@ sub end_page { =cut sub get_course { - (undef,my $courseid)=&Apache::lonxml::whichuser(); + (undef,my $courseid)=&Apache::lonnet::whichuser(); my $cdom=$env{'course.'.$courseid.'.domain'}; my $cnum=$env{'course.'.$courseid.'.num'}; return ($cnum,$cdom);