X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e081983bcd36e396cebfe2259815a2358741d60a..6f9d3a9d8004e3e9d40d07e9fd67fd9eaf6a7d4f:/website/search.php?ds=sidebyside diff --git a/website/search.php b/website/search.php index 37ddd23c..f4b9b924 100755 --- a/website/search.php +++ b/website/search.php @@ -271,7 +271,8 @@ $aPhrase = $oDB->getRow("select make_standard_name('".pg_escape_string($sPhrase)."') as string"); if (PEAR::isError($aPhrase)) { - var_dump($aPhrase); + echo "Illegal query string (not an UTF-8 string): ".$sPhrase; + if (CONST_Debug) var_dump($aPhrase); exit; } if (trim($aPhrase['string']))