Coding style
This commit is contained in:
parent
caf201ede5
commit
ecad03f620
|
|
@ -965,7 +965,7 @@ class PHPMailer {
|
||||||
}
|
}
|
||||||
$smtp_from = ($this->Sender == '') ? $this->From : $this->Sender;
|
$smtp_from = ($this->Sender == '') ? $this->From : $this->Sender;
|
||||||
if(!$this->smtp->Mail($smtp_from)) {
|
if(!$this->smtp->Mail($smtp_from)) {
|
||||||
$this->SetError($this->Lang('from_failed') .$smtp_from . " : " .implode(",",$this->smtp->getError())) ;
|
$this->SetError($this->Lang('from_failed') . $smtp_from . ' : ' .implode(',', $this->smtp->getError()));
|
||||||
throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
|
throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue