Skip to content
Snippets Groups Projects
Commit 9d797f59 authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Merge pull request #6345 from marcosgdf/bug-4758

FIX #4758 PHP warning when installing to PostgreSQL with incorrect credentials
parents 4e43a815 58d77a14
Branches
Tags
No related merge requests found
...@@ -412,8 +412,8 @@ class DoliDBPgsql extends DoliDB ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment