]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/website.php
update tests for newer planet
[nominatim.git] / lib / website.php
index cb71495984c1fd29c0902af545e3a7b9ef46c40f..a6afb69860891360d221b4fc7cf86bad52516fcd 100644 (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;