]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/db.php
in /details JSON output add check if place (type) has an icon set
[nominatim.git] / lib / db.php
index 01fc344b066efff825ce31007ed567aeac9025a1..493d25f5f8860c489d81e2b8a2c6b8d53fd65933 100644 (file)
@@ -8,7 +8,7 @@ function &getDB($bNew = false, $bPersistent = false)
     // Get the database object
     $oDB = chksql(
         DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), $bPersistent),
-        "Failed to establish database connection"
+        'Failed to establish database connection'
     );
     $oDB->setFetchMode(DB_FETCHMODE_ASSOC);
     $oDB->query("SET DateStyle TO 'sql,european'");