]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/PlaceLookup.php
restrict use of os.environ in Configuration
[nominatim.git] / lib-php / PlaceLookup.php
index 76a093c4a98b79170b3884c4f89c3719f60a247e..895a30dfb8a5890b605a27ce022b86698b2fd912 100644 (file)
@@ -86,7 +86,7 @@ class PlaceLookup
             ($this->bIncludePolygonAsSVG ? 1 : 0);
         if ($iWantedTypes > CONST_PolygonOutput_MaximumTypes) {
             if (CONST_PolygonOutput_MaximumTypes) {
-                userError('Select only '.CONST_PolygonOutput_MaximumTypes.' polgyon output option');
+                userError('Select only '.CONST_PolygonOutput_MaximumTypes.' polygon output option');
             } else {
                 userError('Polygon output is disabled');
             }