cvs: pear /Mail_Mime mime.php mimePart.php
| From: | Christian Stocker | Date: | Sun, 10 Feb 2002 00:44:59 +0000 |
| Subject: | cvs: pear /Mail_Mime mime.php mimePart.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2350@lists.php.net to get a copy of this message | ||
chregu Sat Feb 9 19:44:59 2002 EDT
Modified files:
/pear/Mail_Mime mime.php mimePart.php
Log:
Some typos. Customized Character Encoding in Get() did not work before.
Index: pear/Mail_Mime/mime.php
diff -u pear/Mail_Mime/mime.php:1.14 pear/Mail_Mime/mime.php:1.15
--- pear/Mail_Mime/mime.php:1.14 Wed Jan 9 10:18:02 2002
+++ pear/Mail_Mime/mime.php Sat Feb 9 19:44:58 2002
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: mime.php,v 1.14 2002/01/09 15:18:02 heyesr Exp $
+// $Id: mime.php,v 1.15 2002/02/10 00:44:58 chregu Exp $
require_once 'PEAR.php';
require_once 'Mail/mimePart.php';
@@ -383,7 +383,7 @@
* @return string The mime content
* @access public
*/
- function &get($params = null)
+ function &get($build_params = null)
{
if (isset($build_params)) {
while (list($key, $value) = each($build_params)) {
@@ -519,4 +519,4 @@
return $this->_headers;
}
}
-?>
\ No newline at end of file
+?>
Index: pear/Mail_Mime/mimePart.php
diff -u pear/Mail_Mime/mimePart.php:1.6 pear/Mail_Mime/mimePart.php:1.7
--- pear/Mail_Mime/mimePart.php:1.6 Mon Jan 7 10:38:10 2002
+++ pear/Mail_Mime/mimePart.php Sat Feb 9 19:44:58 2002
@@ -73,7 +73,7 @@
* re-build the message.
*
* @author Richard Heyes <richard@phpguru.org>
-* @version $Revision: 1.6 $
+* @version $Revision: 1.7 $
* @package Mail
*/
@@ -173,8 +173,8 @@
}
// Default content-type
- if (!isset($_headers['Content-Type'])) {
- $_headers['Content-Type'] = 'text/plain';
+ if (!isset($headers['Content-Type'])) {
+ $headers['Content-Type'] = 'text/plain';
}
//Default encoding
@@ -184,7 +184,7 @@
// Assign stuff to member variables
$this->_encoded = array();
- $this->_headers = $_headers;
+ $this->_headers = $headers;
$this->_body = $body;
}
@@ -332,4 +332,4 @@
return $output;
}
} // End of class
-?>
\ No newline at end of file
+?>