diff --git a/include/lib/class_database.php b/include/lib/class_database.php index 05f0a5abe..07de6b061 100644 --- a/include/lib/class_database.php +++ b/include/lib/class_database.php @@ -109,8 +109,9 @@ class Database } $this->db=$a; $this->is_open=TRUE; - if ($this->exist_schema('comptaproc')) - pg_exec($this->db, 'set search_path to public,comptaproc,pg_catalog;'); + if ($this->exist_schema('comptaproc')){ + pg_exec($this->db, 'set search_path to public,comptaproc,pg_catalog;'); + } pg_exec($this->db, 'set DateStyle to ISO, MDY;'); ob_end_clean(); }