diff --git a/webminlog/search.cgi b/webminlog/search.cgi index b997a16f4..ebaee2afc 100755 --- a/webminlog/search.cgi +++ b/webminlog/search.cgi @@ -239,7 +239,7 @@ elsif (@match) { } else { # Tell the user that nothing matches - print "

$text{'search_none2'} $searchmsg.

\n"; + print "

$text{'search_none2'}".(&trim($searchmsg) ? " $searchmsg" : "").".

\n"; } if (!$in{'csv'} && !$in{'no_return'}) {