diff --git a/include/class/database.class.php b/include/class/database.class.php index 320fb3724..22865788a 100644 --- a/include/class/database.class.php +++ b/include/class/database.class.php @@ -64,6 +64,7 @@ class Database extends DatabaseCore parent::__construct($noalyss_user, $password, $l_dossier, $host, $port); + $this->exec_sql('set search_path to public,pg_catalog;'); if ($this->exist_schema('comptaproc')) { $this->exec_sql('set search_path to public,comptaproc,pg_catalog;'); }