Permalink
Browse files

- Fixed Bug #17866: Non-static method Mail_RFC822::parseAddressList c…

…alled statically

git-svn-id: http://svn.php.net/repository/pear/packages/Mail/trunk@307489 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 5675165 commit d5d101a91d923d4d53745390b87c36b881606e35 Aleksander Machniak committed Jan 14, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −1 Mail.php
  2. +1 −0 package.xml
View
@@ -250,7 +250,8 @@ function parseRecipients($recipients)
// Parse recipients, leaving out all personal info. This is
// for smtp recipients, etc. All relevant personal information
// should already be in the headers.
- $addresses = Mail_RFC822::parseAddressList($recipients, 'localhost', false);
+ $Mail_RFC822 = new Mail_RFC822();
+ $addresses = $Mail_RFC822->parseAddressList($recipients, 'localhost', false);
// If parseAddressList() returned a PEAR_Error object, just return it.
if (is_a($addresses, 'PEAR_Error')) {
View
@@ -39,6 +39,7 @@ Request #17888: Reduce peak memory usage when using the smtp/smtpmx backend [ale
Fixed Bug #18109: New "pipelining" parameter for SMTP backend never used [alec]
Fixed Bug #17317: Invalid periods in mailbox not marked as invalid [alec]
Fixed Bug #17388: Deprecated assigning the return value of new by reference [alec]
+Fixed Bug #17866: Non-static method Mail_RFC822::parseAddressList called statically [alec]
</notes>
<contents>
<dir baseinstalldir="/" name="/">

0 comments on commit d5d101a

Please sign in to comment.