System : enabling STMP debug in Chamilo if STMPdebug >= 1 not only when > 1 - refs BT#20457

pull/4507/head
NicoDucou 3 years ago
parent 43dbeff61c
commit c0c522f75b
  1. 2
      main/inc/lib/api.lib.php

@ -9557,7 +9557,7 @@ function api_mail_html(
error_log('ERROR: mail not sent to '.$recipient_name.' ('.$recipient_email.') because of '.$mail->ErrorInfo.'<br />');
}
if ($mail->SMTPDebug > 1) {
if ($mail->SMTPDebug >= 1) {
error_log(
"Mail debug:: ".
"Protocol: ".$mail->Mailer.' :: '.

Loading…
Cancel
Save