X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/64fa70ac0aaaad3e2fa881cde7c7f2050e151141..49dc62201c1960f0d4279a440c1c29919b3d21b8:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index d0010417..612c1a0f 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -620,7 +620,7 @@ class Geocode } Debug::printDebugArray('Search context', $oCtx); - Debug::printDebugArray('Base search', $aSearches[0]); + Debug::printDebugArray('Base search', empty($aSearches) ? null : $aSearches[0]); Debug::printVar('Final query phrases', $aInPhrases); // Convert each phrase to standard form