cvs: pear /MDB/MDB Common.php
| From: | Lukas Smith | Date: | Wed, 15 Oct 2003 08:21:41 +0000 |
| Subject: | cvs: pear /MDB/MDB Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13618@lists.php.net to get a copy of this message | ||
lsmith Wed Oct 15 04:21:41 2003 EDT
Modified files:
/pear/MDB/MDB Common.php
Log:
doh! .. forgot to check for parse errors
Index: pear/MDB/MDB/Common.php
diff -u pear/MDB/MDB/Common.php:1.158 pear/MDB/MDB/Common.php:1.159
--- pear/MDB/MDB/Common.php:1.158 Wed Oct 15 04:20:26 2003
+++ pear/MDB/MDB/Common.php Wed Oct 15 04:21:41 2003
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.158 2003/10/15 08:20:26 lsmith Exp $
+// $Id: Common.php,v 1.159 2003/10/15 08:21:41 lsmith Exp $
/**
* @package MDB
@@ -819,7 +819,7 @@
default:
$dsn =
$this->phptype.'://'.$this->dsn['username'];':'.
$this->dsn['password'].'@'.$this->dsn['hostspec'].
- (this->dsn['port'] ?
(':'.$this->dsn['port']) : '').
+ ($this->dsn['port'] ?
(':'.$this->dsn['port']) : '').
'/'.$this->database_name;
break;
}