--- loncom/interface/lonpickcourse.pm 2005/10/03 23:53:25 1.30 +++ loncom/interface/lonpickcourse.pm 2005/10/14 18:23:32 1.32 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.30 2005/10/03 23:53:25 raeburn Exp $ +# $Id: lonpickcourse.pm,v 1.32 2005/10/14 18:23:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -111,7 +111,7 @@ ENDDOCUMENT $num_sections = &Apache::loncommon::get_sections($cdom,$cnum,\%sections_count); my @sections = (); if ($num_sections > 0) { - @sections = (sort {$a <=> $b} keys %sections_count); + @sections = (sort {$a <=> $b} keys(%sections_count)); $seclist = join('","',@sections); } } @@ -272,8 +272,8 @@ ENDSCRIPT ($domainfilter,$descriptfilter,$timefilter,$instcodefilter,$ownerfilter,$coursefilter); $r->print('