From: Sarah Hoffmann Date: Fri, 20 Jul 2018 20:27:27 +0000 (+0200) Subject: fix operator type assignment X-Git-Tag: v3.2.0~44 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/3433ec306e6e93bf1d7efbadb718ce00b5ffe17e?hp=--cc fix operator type assignment Fixes #1084. --- 3433ec306e6e93bf1d7efbadb718ce00b5ffe17e 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']) {