From 8c7e2782aeb1d44d7949cb90e9b51806775d9799 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Thu, 25 Jun 2026 18:22:13 +0900 Subject: [PATCH] DB IO PgSQL supress warnings if we cannot connect --- www/lib/CoreLibs/DB/SQL/PgSQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/lib/CoreLibs/DB/SQL/PgSQL.php b/www/lib/CoreLibs/DB/SQL/PgSQL.php index c05195c2..170f943b 100644 --- a/www/lib/CoreLibs/DB/SQL/PgSQL.php +++ b/www/lib/CoreLibs/DB/SQL/PgSQL.php @@ -536,7 +536,7 @@ class PgSQL implements Interface\SqlFunctions $connection_string[] = 'sslmode=' . $db_ssl; } // connect - $this->dbh = pg_connect(join(' ', $connection_string)); + $this->dbh = @pg_connect(join(' ', $connection_string)); return $this->dbh; }