0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 10:02:14 +02:00

Remove unecessary cast (#1595)

This commit is contained in:
Gabriel Caruso 2018-11-11 13:36:34 -02:00 committed by Marcus Bointon
parent 43b774272b
commit 04723d0a14

View File

@ -733,7 +733,7 @@ class SMTP
public function hello($host = '')
{
//Try extended hello first (RFC 2821)
return (bool) ($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host));
return $this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host);
}
/**