#1485581: not use parenthesis when searching with 2 search keys

release-0.6
alecpl 16 years ago
parent debdda0117
commit 0cb9677bef

@ -79,7 +79,7 @@ if ($subject && !is_array($subject))
else if ($subject) {
$search_str .= ' OR';
foreach($subject as $sub)
$search_str .= sprintf(" (%s {%d}\r\n%s)", $sub, strlen($search), $search);
$search_str .= sprintf(" %s {%d}\r\n%s", $sub, strlen($search), $search);
}
$search_str = trim($search_str);

Loading…
Cancel
Save