--- loncom/interface/lonprintout.pm 2005/12/19 23:27:28 1.410 +++ loncom/interface/lonprintout.pm 2005/12/23 08:02:24 1.411 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.410 2005/12/19 23:27:28 foxr Exp $ +# $Id: lonprintout.pm,v 1.411 2005/12/23 08:02:24 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2176,11 +2176,9 @@ CHOOSE_STUDENTS } - my %all_codes = &Apache::lonnet::get('CODEs', - \@names, $cdom,$cnum); my %code_values; my %codes_to_print; - foreach my $key (keys(%all_codes)) { + foreach my $key (@names) { %code_values = &Apache::grades::get_codes($key, $cdom, $cnum); foreach my $key (keys(%code_values)) { $codes_to_print{$key} = 1; @@ -2239,12 +2237,6 @@ CHOOSE_STUDENTS - Choose single code from list - - - $code_selection - - Names to store the CODEs under for later: @@ -2334,12 +2326,6 @@ CHOOSE_STUDENTS1 - Choose single code from list - - - $code_selection - - Names to store the CODEs under for later: