--- loncom/interface/slotrequest.pm 2006/06/30 04:28:18 1.68 +++ loncom/interface/slotrequest.pm 2006/10/17 15:11:26 1.69 @@ -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 2006/06/30 04:28:18 albertel Exp $ +# $Id: slotrequest.pm,v 1.69 2006/10/17 15:11:26 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);