From 1feb01384ffe701aadc956faa05d705af1309c11 Mon Sep 17 00:00:00 2001 From: SJ Date: Tue, 4 Dec 2012 21:26:26 +0100 Subject: [PATCH] search query fix for "any" --- webui/model/search/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/search.php b/webui/model/search/search.php index a716299d..9e8d91ff 100644 --- a/webui/model/search/search.php +++ b/webui/model/search/search.php @@ -260,7 +260,7 @@ class ModelSearchSearch extends Model { $data['any'] = $this->fixup_meta_characters($data['any']); $data['any'] = $this->fixup_sphinx_operators($data['any']); $data['any'] = $this->fix_email_address_for_sphinx($data['any']); - if($match) { $match = "($match) & "; } $match .= "(@subject,@body" . $data['any'] . ") "; + if($match) { $match = "($match) & "; } $match .= "(" . $data['any'] . ") "; }