[drupal-devel] [bug] undefined index: port in database.pgsql.inc on line 27
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
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 Can this please be applied to 4-6 and HEAD? danielc Previous comments: ------------------------------------------------------------------------ April 2, 2005 - 09:45 : danielc 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().
participants (1)
-
danielc