From 3433ec306e6e93bf1d7efbadb718ce00b5ffe17e Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 20 Jul 2018 22:27:27 +0200 Subject: [PATCH 1/1] fix operator type assignment Fixes #1084. --- lib/TokenList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/TokenList.php b/lib/TokenList.php index a91c735e..67d94edd 100644 --- a/lib/TokenList.php +++ b/lib/TokenList.php @@ -125,7 +125,7 @@ class TokenList $iId, $aWord['class'], $aWord['type'], - $aWord['operator'] ? Operator::NONE : Operator::NEAR + $aWord['operator'] ? Operator::NEAR : Operator::NONE ); } } elseif ($aWord['country_code']) { -- 2.39.5