gunnar: server/pear/PEAR-Mail/patches/PEAR-Mail-1.1.14 issue3983.patch, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Thu Mar 25 17:28:20 CET 2010


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-Mail/patches/PEAR-Mail-1.1.14
In directory doto:/tmp/cvs-serv5328/pear/PEAR-Mail/patches/PEAR-Mail-1.1.14

Added Files:
	issue3983.patch 
Log Message:
kolab/issue3983 (Phpunit testsuite fails on OpenPKG Kolab 2.2.2) 

--- NEW FILE: issue3983.patch ---
From: Gunnar Wrobel <wrobel at pardus.de>
Subject: [PATCH] issue3983.patch

Fixes unit testing for PHP 5.3.*.

STATUS: UNMERGED

REF: http://issues.kolab.org/issue3983

Signed-off-by: Gunnar Wrobel <wrobel at pardus.de>

--- a/lib/Mail/Mail.php	2010-01-23 22:14:14.000000000 +0100
+++ b/lib/Mail/Mail.php	2010-03-25 16:16:50.000000000 +0100
@@ -151,7 +151,7 @@
         foreach ($headers as $key => $value) {
             if (strcasecmp($key, 'From') === 0) {
                 include_once 'Mail/RFC822.php';
-                $parser = &new Mail_RFC822();
+                $parser = new Mail_RFC822();
                 $addresses = $parser->parseAddressList($value, 'localhost', false);
                 if (PEAR::isError($addresses)) {
                     return $addresses;





More information about the commits mailing list