diff program/lib/Roundcube/rcube_db_pgsql.php @ 19:b6a96bdd6b29

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Wed, 08 Oct 2025 08:50:44 -0400
parents b631c1c7a3ce
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_db_pgsql.php	Tue Oct 07 11:20:40 2025 -0400
+++ b/program/lib/Roundcube/rcube_db_pgsql.php	Wed Oct 08 08:50:44 2025 -0400
@@ -217,7 +217,7 @@
             $params[] = 'port=' . $dsn['port'];
         }
 
-        if ($dsn['database']) {
+        if (!empty($dsn['database'])) {
             $params[] = 'dbname=' . $dsn['database'];
         }