Skip to content
Snippets Groups Projects
Commit 58d77a14 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

FIX #4758 PHP warning when installing to PostgreSQL with incorrect credentials

Closes #4758
parent 10bacda8
No related branches found
No related tags found
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