Fix: remove the default pgsql database name

This commit is contained in:
Regis Houssin
2012-01-06 10:43:08 +01:00
parent 1b122c5a2a
commit 602e64282c

View File

@@ -357,7 +357,7 @@ class DoliDb
$name = str_replace(array("\\", "'"), array("\\\\", "\\'"), $name);
$port = str_replace(array("\\", "'"), array("\\\\", "\\'"), $port);
if (! $name) $name="postgres";
//if (! $name) $name="postgres";
// try first Unix domain socket (local)
if (! $host || $host == "" || $host == "localhost")