From 73e737d7756dd900fc5b797561ec0a66b0d3272e Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 6 Oct 2017 22:01:52 +0200 Subject: [PATCH] fix variable names --- lib/Geocode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index f282e265..fbb1b4e0 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -859,7 +859,7 @@ class Geocode } } - if ((!$aCurrentSearch['sPostcode'] && !$aSearch['aAddress'] && !$aSearch['aAddressNonSearch']) + if ((!$aCurrentSearch['sPostcode'] && !$aCurrentSearch['aAddress'] && !$aCurrentSearch['aAddressNonSearch']) && (!sizeof($aCurrentSearch['aName']) || $aCurrentSearch['iNamePhrase'] == $iPhrase)) { $aSearch = $aCurrentSearch; $aSearch['iSearchRank'] += 1; -- 2.45.2