mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Delete a space between ! and empty
This commit is contained in:
parent
db20600d02
commit
05bcc4fe58
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue