--- trunk2/lib/WebPAC/jsFind.pm 2004/11/06 21:00:14 587 +++ trunk2/lib/WebPAC/jsFind.pm 2004/11/06 21:01:31 588 @@ -102,7 +102,10 @@ carp "no headline for ",$args->{'path'}," ?"; $args->{'headline'} = "no headline: ".$args->{'path'}; } - return unless (defined($args->{'words'})); + if (! defined($args->{'words'})) { + $log->warn("no words to insert for headline ",$args->{'headline'}); + return; + } my $words = lc($args->{'words'});