--- loncom/interface/lonindexer.pm 2004/06/22 13:27:51 1.117 +++ loncom/interface/lonindexer.pm 2004/07/02 08:01:20 1.118 @@ -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.118 2004/07/02 08:01:20 albertel 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;