Merge pull request #994 from mtmail/bugfix-when-calling-debug-printDebugArray

fix -undefined offset- error
This commit is contained in:
Sarah Hoffmann 2018-03-27 09:04:59 +02:00 committed by GitHub
commit d183cd3c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -620,7 +620,7 @@ class Geocode
} }
Debug::printDebugArray('Search context', $oCtx); 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); Debug::printVar('Final query phrases', $aInPhrases);
// Convert each phrase to standard form // Convert each phrase to standard form