mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix trim in parenthesis
This commit is contained in:
parent
e82fa5d3e0
commit
d4ccb73dcc
@ -87,7 +87,7 @@ class SearchProvider
|
||||
//strip parenthesis
|
||||
if (mb_substr($match, 0, 1) === '(' &&
|
||||
mb_substr($match, mb_strlen($match) - 1) === ')') {
|
||||
$match = mb_substr($match, 1, mb_strlen($match)-2);
|
||||
$match = trim(mb_substr($match, 1, mb_strlen($match)-2));
|
||||
}
|
||||
$terms[$matches[1][$key]] = $match;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user