--- loncom/interface/lonpickcourse.pm 2006/11/16 13:02:45 1.59 +++ loncom/interface/lonpickcourse.pm 2006/12/11 21:41:40 1.60.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network # Pick a course # -# $Id: lonpickcourse.pm,v 1.59 2006/11/16 13:02:45 raeburn Exp $ +# $Id: lonpickcourse.pm,v 1.60.2.1 2006/12/11 21:41:40 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -349,9 +349,9 @@ $multelement if ($domainselectform) { $output .= $lt{'cdo'}.': '.$domainselectform.'
'."\n"; } - if ($typeselectform) { - $output .= $lt{'cog'}.': '.$typeselectform.'
'."\n"; - } +# if ($typeselectform) { +# $output .= $lt{'cog'}.': '.$typeselectform.'
'."\n"; +# } if ($instcodeform) { $output .= $lt{'cin'}.': '.$instcodeform.'
'."\n"; } @@ -409,7 +409,8 @@ sub search_courses { undef,undef,$type); } else { $r->print('
'); - foreach my $cid (sort(&Apache::loncommon::findallcourses())) { + my %coursehash = &Apache::loncommon::findallcourses(); + foreach my $cid (sort(keys(%coursehash))) { $courses{$cid} = $env{'course.'.$cid.'.description'}; } }