Small E_ALL fix to Mail_Mime
| From: | Jan Schneider | Date: | Wed, 02 Apr 2003 21:30:50 +0000 |
| Subject: | Small E_ALL fix to Mail_Mime | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14817@lists.php.net to get a copy of this message | ||
This small patch fixes an E_NOTICE message with ZE2:
Index: mimeDecode.php
===================================================================
RCS file: /repository/pear/Mail_Mime/mimeDecode.php,v
retrieving revision 1.36
diff -u -r1.36 mimeDecode.php
--- mimeDecode.php 4 Jan 2003 11:55:34 -0000 1.36
+++ mimeDecode.php 2 Apr 2003 21:29:17 -0000
@@ -223,6 +223,7 @@
function _decode($headers, $body, $default_ctype = 'text/plain')
{
$return = new stdClass;
+ $return->headers = array();
$headers = $this->_parseHeaders($headers);
foreach ($headers as $value) {
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft