cvs: php4 /pear/DB pgsql.php

From: Date: Fri, 26 Apr 2002 01:31:09 +0000
Subject: cvs: php4 /pear/DB pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3568@lists.php.net to get a copy of this message
cox Thu Apr 25 21:31:09 2002 EDT Modified files: /php4/pear/DB pgsql.php Log: E_ALL fix when DSN is given as an array Index: php4/pear/DB/pgsql.php diff -u php4/pear/DB/pgsql.php:1.66 php4/pear/DB/pgsql.php:1.67 --- php4/pear/DB/pgsql.php:1.66 Tue Mar 12 17:42:13 2002 +++ php4/pear/DB/pgsql.php Thu Apr 25 21:31:06 2002 @@ -17,7 +17,7 @@ // | Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.66 2002/03/12 22:42:13 cox Exp $ +// $Id: pgsql.php,v 1.67 2002/04/26 01:31:06 cox Exp $ // // Database independent query interface definition for PHP's PostgreSQL // extension. @@ -89,7 +89,7 @@ if ($protocol == 'tcp') { $connstr = 'host=' . $dsninfo['hostspec']; - if ($dsninfo['port']) { + if (!empty($dsninfo['port'])) { $connstr .= ' port=' . $dsninfo['port']; } }

« previous php.pear.cvs (#3568) next »