fix more syntax errors in error functions

This commit is contained in:
Sarah Hoffmann 2016-06-12 23:25:47 +02:00
parent e842d8793c
commit 10c5d7f6f6

View File

@ -39,7 +39,7 @@ INTERNALFAIL;
echo "<pre>\n".$oSql->getUserInfo()."</pre>";
}
echo "</pre></p></body></head></html>";
echo "</pre></p></body></html>";
exit;
}
@ -76,7 +76,7 @@ INTERNALFAIL;
header('Content-type: text/html; charset=utf-8');
echo "<html><body><h1>Bad Request</h1>";
echo '<p>Nominatim has encountered an error with your request.</p>';
echo "<p><b>Details:</b> ".$sError,"</p>";
echo "<p><b>Details:</b> ".$sError."</p>";
echo '<p>If you feel this error is incorrect feel file an issue on <a href="https://github.com/twain47/Nominatim/issues">Github</a>. Please include the error message above and the URL you used.</p>';
echo "\n</body></html>\n";
exit;