Merge pull request #6345 from marcosgdf/bug-4758
FIX #4758 PHP warning when installing to PostgreSQL with incorrect credentials
This commit is contained in:
commit
9d797f59a1
@ -412,8 +412,8 @@ class DoliDBPgsql extends DoliDB
|
|||||||
{
|
{
|
||||||
$this->database_name = $name;
|
$this->database_name = $name;
|
||||||
pg_set_error_verbosity($this->db, PGSQL_ERRORS_VERBOSE); // Set verbosity to max
|
pg_set_error_verbosity($this->db, PGSQL_ERRORS_VERBOSE); // Set verbosity to max
|
||||||
}
|
|
||||||
pg_query($this->db, "set datestyle = 'ISO, YMD';");
|
pg_query($this->db, "set datestyle = 'ISO, YMD';");
|
||||||
|
}
|
||||||
|
|
||||||
return $this->db;
|
return $this->db;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user