PHP 4.0 Bug #9081 Updated: Typo in pear/Mail/smtp.php

From: Date: Fri, 02 Feb 2001 19:08:10 +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-45633@lists.php.net to get a copy of this message
ID: 9081 Updated by: sniper Reported By: jpdalbec@cc.ysu.edu Old-Status: Assigned Status: Closed Bug Type: Mail related Assigned To: Comments: 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

« previous php.dev (#45633) next »