FIX #4758 PHP warning when installing to PostgreSQL with incorrect credentials
Closes #4758
This commit is contained in:
parent
10bacda820
commit
58d77a14af
@ -412,8 +412,8 @@ class DoliDBPgsql extends DoliDB
|
||||
{
|
||||
$this->database_name = $name;
|
||||
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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user