Delete a space between ! and empty

This commit is contained in:
Norio Suzuki 2012-05-09 00:16:17 +09:00
parent db20600d02
commit 05bcc4fe58

View file

@ -171,7 +171,7 @@ class SmtpTransport extends AbstractTransport {
$lines = $this->_cakeEmail->message(); $lines = $this->_cakeEmail->message();
$messages = array(); $messages = array();
foreach ($lines as $line) { foreach ($lines as $line) {
if ((! empty($line)) && ($line[0] === '.')) { if ((!empty($line)) && ($line[0] === '.')) {
$messages[] = '.' . $line; $messages[] = '.' . $line;
} else { } else {
$messages[] = $line; $messages[] = $line;