cvs: php4 /pear Mail.php

From: Date: Fri, 05 Jan 2001 20:03:02 +0000
Subject: cvs: php4 /pear Mail.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3392@lists.php.net to get a copy of this message
chagenbu Fri Jan 5 12:03:02 2001 EDT Modified files: /php4/pear Mail.php Log: revert Jon's patch, leaving only the correct one. Index: php4/pear/Mail.php diff -u php4/pear/Mail.php:1.6 php4/pear/Mail.php:1.7 --- php4/pear/Mail.php:1.6 Fri Jan 5 11:59:00 2001 +++ php4/pear/Mail.php Fri Jan 5 12:03:01 2001 @@ -119,7 +119,7 @@ include_once 'Mail/rfc822.php'; $from_arr = Mail_rfc822::parseAddressList($val, 'localhost', false); - $from = $from_arr[0][0]->mailbox . '@' . $from_arr[0][0]->host; + $from = $from_arr[0]->mailbox . '@' . $from_arr[0]->host; if (strstr($from, ' ')) { // Reject outright envelope From addresses with spaces. return false;

« previous php.cvs (#3392) next »