--- loncom/interface/groupsort.pm 2003/09/23 00:26:10 1.23 +++ loncom/interface/groupsort.pm 2005/04/07 06:56:22 1.31 @@ -2,7 +2,7 @@ # The LON-CAPA group sort handler # Allows for sorting prior to import into RAT. # -# $Id: groupsort.pm,v 1.23 2003/09/23 00:26:10 www Exp $ +# $Id: groupsort.pm,v 1.31 2005/04/07 06:56:22 albertel 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') { + if ($env{'form.mode'} eq 'simple' || $env{'form.mode'} eq '') { $finishimport=(<print(< +$html The LearningOnline Network With CAPA Group Sorter