From c28b99453463a0e2ccc84a554a830e33e2221b23 Mon Sep 17 00:00:00 2001 From: Ilia Date: Wed, 22 Jun 2022 19:47:24 +0300 Subject: [PATCH] Fix to check if there are results for proper comma position --- webminlog/search.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}) {