--- loncom/interface/lonindexer.pm 2004/02/05 03:42:52 1.90 +++ loncom/interface/lonindexer.pm 2004/02/05 03:47:04 1.91 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.90 2004/02/05 03:42:52 taceyjo1 Exp $ +# $Id: lonindexer.pm,v 1.91 2004/02/05 03:47:04 taceyjo1 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -164,7 +164,7 @@ END # selection is made. # $element is the name of the element in $formname which receives # the URL. - &Apache::lonxml::debug('Checking mode, form, element'); + #&Apache::lonxml::debug('Checking mode, form, element'); &setvalues(\%hash,'form.mode' ,\%ENV,'form.mode' ); &setvalues(\%hash,'form.form' ,\%ENV,'form.form' ); &setvalues(\%hash,'form.element' ,\%ENV,'form.element'); @@ -622,8 +622,7 @@ sub get_list { @list = &Apache::lonnet::dirlist($uri); $hash{'dirlist_files_'.$luri} = join("\n",@list); } - @list=&match_ext($r,@list); - return @list; + return @list=&match_ext($r,@list); } sub initdebug {