PHP 4.0 Bug #9081 Updated: Typo in pear/Mail/smtp.php
| From: | chagenbu@php.net | Date: | Fri, 02 Feb 2001 19:01:52 +0000 |
| Subject: | PHP 4.0 Bug #9081 Updated: Typo in pear/Mail/smtp.php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45631@lists.php.net to get a copy of this message | ||
ID: 9081
Updated by: chagenbu
Reported By: jpdalbec@cc.ysu.edu
Old-Status: Open
Status: Assigned
Bug Type: Mail related
Assigned To:
Comments:
yup, how about that. nice catch - it's fixed now.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-02 13:35:28] jpdalbec@cc.ysu.edu
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'];
}
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9081&edit=2