Author: glen                         Date: Tue Jul  3 21:47:57 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- strict mode fix

---- Files affected:
SOURCES:
   php-pear-Mail-strict.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pear-Mail-strict.patch
diff -u /dev/null SOURCES/php-pear-Mail-strict.patch:1.1
--- /dev/null   Tue Jul  3 23:47:57 2007
+++ SOURCES/php-pear-Mail-strict.patch  Tue Jul  3 23:47:52 2007
@@ -0,0 +1,11 @@
+--- Mail-1.1.14/usr/share/pear/Mail.php        2007-07-04 00:44:25.993319232 
+0300
++++ Mail-1.1.14/usr/share/pear/Mail.php        2007-07-04 00:45:15.534454909 
+0300
+@@ -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;
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to