--- loncom/interface/lonindexer.pm 2004/06/22 13:27:51 1.117 +++ loncom/interface/lonindexer.pm 2004/07/07 00:02:00 1.119 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.117 2004/06/22 13:27:51 www Exp $ +# $Id: lonindexer.pm,v 1.119 2004/07/07 00:02:00 taceyjo1 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -136,7 +136,8 @@ sub handler { if ($ENV{'form.launch'} eq '2') { $r->content_type('text/html'); my $extra=''; - if (defined($ENV{'form.titleelement'})) { + if (defined($ENV{'form.titleelement'}) && + $ENV{'form.titleelement'} ne '') { my $verify_title = &Apache::lonnet::gettitle($ENV{'form.acts'}); # &Apache::lonnet::logthis("Hrrm $ENV{'form.acts'} -- $verify_title"); $verify_title=~s/'/\\'/g; @@ -1017,7 +1018,7 @@ sub display_line { if ($hash{'display_attrs_10'} == 1) { my $source = &Apache::lonnet::metadata($filelink,'sourceavail'); if($source eq 'open') { - my $sourcelink = &Apache::lonsource::make_link($filelink); + my $sourcelink = &Apache::lonsource::make_link($filelink,$listname); $r->print(''."Yes "."\n");