[PHP-DEV] PHP 4.0 Bug #9081 Updated: Typo in pear/Mail/smtp.php

2001-02-02 Thread sniper

ID: 9081
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Assigned
Status: Closed
Bug Type: Mail related
Assigned To: 
Comments:



Previous Comments:
---

[2001-02-02 13:35:28] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9081 Updated: Typo in pear/Mail/smtp.php

2001-02-02 Thread chagenbu

ID: 9081
Updated by: chagenbu
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]