cvs: pear /DB/DB pgsql.php
| From: | Edin Kadribasic | Date: | Wed, 24 Jul 2002 11:21:00 +0000 |
| Subject: | cvs: pear /DB/DB pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5321@lists.php.net to get a copy of this message | ||
edink Wed Jul 24 07:21:00 2002 EDT
Modified files:
/pear/DB/DB pgsql.php
Log:
Be more E_ALL friendly.
Index: pear/DB/DB/pgsql.php
diff -u pear/DB/DB/pgsql.php:1.6 pear/DB/DB/pgsql.php:1.7
--- pear/DB/DB/pgsql.php:1.6 Wed Jul 24 07:13:59 2002
+++ pear/DB/DB/pgsql.php Wed Jul 24 07:21:00 2002
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.6 2002/07/24 11:13:59 edink Exp $
+// $Id: pgsql.php,v 1.7 2002/07/24 11:21:00 edink Exp $
//
// Database independent query interface definition for PHP's PostgreSQL
// extension.
@@ -88,7 +88,7 @@
$connstr = '';
if ($protocol == 'tcp') {
- if ($dsninfo['hostspec']) {
+ if (!empty($dsninfo['hostspec'])) {
$connstr = 'host=' . $dsninfo['hostspec'];
}
if (!empty($dsninfo['port'])) {