|
From: Benjamin C. <bc...@us...> - 2002-10-03 15:19:01
|
Update of /cvsroot/phpbt/phpbt/inc/pear/DB
In directory usw-pr-cvs1:/tmp/cvs-serv28620/inc/pear/DB
Modified Files:
pgsql.php
Log Message:
Clobber a notice
Index: pgsql.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/inc/pear/DB/pgsql.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pgsql.php 13 Sep 2002 18:07:51 -0000 1.1
+++ pgsql.php 3 Oct 2002 15:18:57 -0000 1.2
@@ -91,7 +91,7 @@
if ($dsninfo['hostspec']) {
$connstr = 'host=' . $dsninfo['hostspec'];
}
- if ($dsninfo['port']) {
+ if (!empty($dsninfo['port'])) {
$connstr .= ' port=' . $dsninfo['port'];
}
}
|