--- loncom/interface/groupsort.pm 2004/01/19 18:17:29 1.26 +++ loncom/interface/groupsort.pm 2005/06/08 21:13:05 1.32 @@ -2,7 +2,7 @@ # The LON-CAPA group sort handler # Allows for sorting prior to import into RAT. # -# $Id: groupsort.pm,v 1.26 2004/01/19 18:17:29 albertel Exp $ +# $Id: groupsort.pm,v 1.32 2005/06/08 21:13:05 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -39,6 +39,7 @@ use Apache::Constants qw(:common); use GDBM_File; use Apache::loncommon; use Apache::lonlocal; +use Apache::lonnet; my %hash; # variable to tie to user specific database my $iconpath; # variable to be accessible to multiple subroutines @@ -68,7 +69,7 @@ sub handler { # finish_import looks different for graphical or "simple" RAT my $finishimport=''; - if ($ENV{'form.mode'} eq 'simple' || $ENV{'form.mode'} eq '') { + if ($env{'form.mode'} eq 'simple' || $env{'form.mode'} eq '') { $finishimport=(<print(< +$html The LearningOnline Network With CAPA Group Sorter