2 Apr
2005
2 Apr
'05
4:45 p.m.
Issue status update for http://drupal.org/node/19868 Project: Drupal Version: cvs Component: database system Category: bug reports Priority: normal Assigned to: Anonymous Reported by: danielc Updated by: danielc Status: patch Attachment: http://drupal.org/files/issues/database.pgsql.inc.port.diff (757 bytes) The port number for PostgreSQL $db_url's doesn't need to be set. If it's not, then $url['port'] isn't either. This situation generates the following notice: Notice: Undefined index: port in x:\drupal\includes\database.pgsql.inc on line 27 This patch fixes the situation by wrapping the operator in !empty(). danielc