PHP 4.0 Bug #9081: Typo in pear/Mail/smtp.php
| From: | jpdalbec at cc dot ysu dot edu | Date: | Fri, 02 Feb 2001 18:35:28 +0000 |
| Subject: | PHP 4.0 Bug #9081: Typo in pear/Mail/smtp.php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45628@lists.php.net to get a copy of this message | ||
From: jpdalbec@cc.ysu.edu
Operating system: Linux for S/390
PHP version: 4.0.4pl1
PHP Bug Type: Mail related
Bug description: Typo in pear/Mail/smtp.php
I think this is a typo:
function Mail_smtp($params)
{
if (isset($params['host'])) $this->host = $params['host'];
if (isset($params['port'])) $this->host = $params['port'];
if (isset($params['auth'])) $this->host = $params['auth'];
if (isset($params['username'])) $this->host = $params['username'];
if (isset($params['password'])) $this->host = $params['password'];
}
It should be:
function Mail_smtp($params)
{
if (isset($params['host'])) $this->host = $params['host'];
if (isset($params['port'])) $this->port = $params['port'];
if (isset($params['auth'])) $this->auth = $params['auth'];
if (isset($params['username'])) $this->username =
$params['username'];
if (isset($params['password'])) $this->password =
$params['password'];
}
--
Edit Bug report at: http://bugs.php.net/?id=9081&edit=1