mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 10:02:14 +02:00
wrong location of is_callable()'s closing parenthesis (#1890)
This commit is contained in:
parent
0ae8505d26
commit
4fd3c57b2d
@ -878,7 +878,7 @@ class PHPMailer
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//Avoid clash with built-in function names
|
//Avoid clash with built-in function names
|
||||||
if (is_callable($this->Debugoutput && !in_array($this->Debugoutput, ['error_log', 'html', 'echo']))) {
|
if (is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ['error_log', 'html', 'echo'])) {
|
||||||
call_user_func($this->Debugoutput, $str, $this->SMTPDebug);
|
call_user_func($this->Debugoutput, $str, $this->SMTPDebug);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user