comparison 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
comparison
equal deleted inserted replaced
18:b631c1c7a3ce 19:b6a96bdd6b29
215 215
216 if ($dsn['port']) { 216 if ($dsn['port']) {
217 $params[] = 'port=' . $dsn['port']; 217 $params[] = 'port=' . $dsn['port'];
218 } 218 }
219 219
220 if ($dsn['database']) { 220 if (!empty($dsn['database'])) {
221 $params[] = 'dbname=' . $dsn['database']; 221 $params[] = 'dbname=' . $dsn['database'];
222 } 222 }
223 223
224 if (!empty($params)) { 224 if (!empty($params)) {
225 $result .= implode(';', $params); 225 $result .= implode(';', $params);