From 9d8a7dcaa3e178e606ba11e01298e69619656cfd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 26 May 2009 15:00:57 +0000 Subject: [PATCH] fix input selection with operators git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1192 07558da8-63fa-0310-ba24-9fe276d99e06 --- vhost/webpac2.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhost/webpac2.cgi b/vhost/webpac2.cgi index 72d4059..f09b0e4 100755 --- a/vhost/webpac2.cgi +++ b/vhost/webpac2.cgi @@ -220,7 +220,7 @@ if ( my $search = param('search') ) { push @search, $v; my @only_input = param('only_input'); - push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input; + push @search, '((' . join(') OR (', map { "input=\"$_\"" } @only_input) . '))' if @only_input; } else { push @search, "all=\"$search\""; } -- 2.20.1