]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix typo
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 18 Apr 2017 20:44:39 +0000 (22:44 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 18 Apr 2017 20:44:39 +0000 (22:44 +0200)
utils/setup.php

index c25dc094efefd39056bdb8bbbf1a83b94cd0af3a..fae200cc71fa92f2659c1ee01822bba8673f800d 100755 (executable)
@@ -381,7 +381,7 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) {
     $sSQL .= "class='place' and type='houses' and osm_type='W' and ST_GeometryType(geometry) = 'ST_LineString'";
     if ($aCMDResult['verbose']) echo "$sSQL\n";
     if (!pg_send_query($aDBInstances[$iLoadThreads]->connection, $sSQL)) {
-        fail(pg_last_error($aDBInstances[$iLoadThreads]->->connection));
+        fail(pg_last_error($aDBInstances[$iLoadThreads]->connection));
     }
 
     $bAnyBusy = true;