--- trunk/lib/BackupPC/SearchLib.pm 2005/08/28 14:05:08 87 +++ trunk/lib/BackupPC/SearchLib.pm 2005/08/28 14:15:01 88 @@ -195,7 +195,7 @@ my $q = $param->{'search_filename'}; my $shareid = $param->{'search_share'}; - if ($q) { + if (length($q) > 0) { $q =~ s/(.)/$1 /g; # set the search phrase to the search condition object @@ -373,7 +373,7 @@ my $start_t = time(); my ($results, $files); - if ($param->{'use_hest'}) { + if ($param->{'use_hest'} && length($hilite) > 0) { ($results, $files) = getFilesHyperEstraier($param); } else { ($results, $files) = getFiles($param); @@ -435,7 +435,7 @@ my $typeStr = BackupPC::Attrib::fileType2Text(undef, $file->{'type'}); $retHTML .= qq{}; - $retHTML .= qq{$i}; + $retHTML .= qq{$i}; $retHTML .= qq{} . $file->{'hname'} . ':' . $file->{'sname'} . qq{} .