forked from hans/Nominatim
replace double-quoting with single quotes where applicable
This commit is contained in:
@@ -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'");
|
||||
|
||||
Reference in New Issue
Block a user